Skip to content

Commit 439243a

Browse files
updated workflow
1 parent 42610d3 commit 439243a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
with:
2323
python-version: ${{ env.PYTHON_VERSION }}
2424
architecture: 'x64'
25+
- name: Get version
26+
id: version
27+
uses: battila7/get-version-action@v2
28+
2529
- name: Install requirements
2630
run: pip install -r requirements.txt
2731
- name: Run PyInstaller
2832
run: pip install pyinstaller; pyinstaller --noconsole --onefile --name=${{ env.EXECUTABLE_NAME }} ${{ env.PROGRAM_ENTRYPOINT }}
29-
#- uses: actions/upload-artifact@v2
30-
# with:
31-
# name: Windows_qwiklabs
32-
# path: dist/qwiklab_badge_checker.exe
3333

3434
- name: ZIP release artifact Windows
3535
run: echo $(pwd); cd ${{ env.BUILD_OUTPUT_PATH }}; Compress-Archive -Path ./ -DestinationPath ../${{ env.EXECUTABLE_NAME }}-${{ steps.version.outputs.version }}-win64.zip
@@ -69,14 +69,15 @@ jobs:
6969
with:
7070
python-version: ${{ env.PYTHON_VERSION }}
7171
architecture: 'x64'
72+
73+
- name: Get version
74+
id: version
75+
uses: battila7/get-version-action@v2
76+
7277
- name: Install requirements
7378
run: pip install -r requirements.txt
7479
- name: Run PyInstaller
7580
run: pip install pyinstaller; pyinstaller --noconsole --onefile --name=${{ env.EXECUTABLE_NAME }} ${{ env.PROGRAM_ENTRYPOINT }}
76-
#- uses: actions/upload-artifact@v2
77-
# with:
78-
# name: Windows_qwiklabs
79-
# path: dist/qwiklab_badge_checker.exe
8081

8182
- name: ZIP release artifact Linux
8283
run: echo $(pwd); echo $(find . -type d); cd ${{ env.BUILD_OUTPUT_PATH }}; zip -r ../${{ env.EXECUTABLE_NAME }}-${{ steps.version.outputs.version }}-linux64.zip ./

0 commit comments

Comments
 (0)