File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
22
22
with :
23
23
python-version : ${{ env.PYTHON_VERSION }}
24
24
architecture : ' x64'
25
+ - name : Get version
26
+ id : version
27
+ uses : battila7/get-version-action@v2
28
+
25
29
- name : Install requirements
26
30
run : pip install -r requirements.txt
27
31
- name : Run PyInstaller
28
32
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
33
33
34
34
- name : ZIP release artifact Windows
35
35
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:
69
69
with :
70
70
python-version : ${{ env.PYTHON_VERSION }}
71
71
architecture : ' x64'
72
+
73
+ - name : Get version
74
+ id : version
75
+ uses : battila7/get-version-action@v2
76
+
72
77
- name : Install requirements
73
78
run : pip install -r requirements.txt
74
79
- name : Run PyInstaller
75
80
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
80
81
81
82
- name : ZIP release artifact Linux
82
83
run : echo $(pwd); echo $(find . -type d); cd ${{ env.BUILD_OUTPUT_PATH }}; zip -r ../${{ env.EXECUTABLE_NAME }}-${{ steps.version.outputs.version }}-linux64.zip ./
You can’t perform that action at this time.
0 commit comments