Skip to content
This repository was archived by the owner on Sep 14, 2025. It is now read-only.

Commit bad6bff

Browse files
authored
Merge pull request #185 from lora-aprs/do_not_create_a_new_version_so_often
do not create a new version with every push request
2 parents 802ae8b + b31709b commit bad6bff

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.github/workflows/build_check.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,6 @@ on:
1010
- master
1111

1212
jobs:
13-
version_check:
14-
name: Version Check
15-
runs-on: ubuntu-latest
16-
steps:
17-
- name: Checkout code
18-
uses: actions/checkout@v2
19-
with:
20-
fetch-depth: 0
21-
- name: Set up Python
22-
uses: actions/setup-python@v2
23-
- run: pip install GitPython
24-
- name: check version
25-
run: ./scripts/check_version.py
26-
2713
build:
2814
name: Compile Firmware
2915
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
name: Create new release
22

33
on:
4-
push:
5-
branches:
6-
- 'master'
4+
workflow_dispatch:
75

86
jobs:
9-
build:
7+
version_check:
8+
name: Version Check
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Set up Python
16+
uses: actions/setup-python@v2
17+
- run: pip install GitPython
18+
- name: check version
19+
run: ./scripts/check_version.py
20+
21+
create_release:
22+
needs: version_check
1023
name: Create new release
1124
runs-on: ubuntu-latest
1225
steps:

0 commit comments

Comments
 (0)