Skip to content

Commit

Permalink
unzip
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 2, 2024
1 parent 6653c64 commit fab1ca5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,22 @@ jobs:
cmake --build .
cmake --build . --target=deploy
cmake --build . --target=pack
7z x VNote*.zip -o*
dir
working-directory: ${{runner.workspace}}/build

- name: Rename on 5.15
shell: bash
if: ${{startsWith(matrix.config.qt, '5.15')}}
run: |
mv VNote*.zip VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}.zip
mv VNote-${{env.VNOTE_VER}}-win64 VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}
working-directory: ${{runner.workspace}}/build

- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
name: VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}.zip
path: ${{runner.workspace}}/build/VNote*.zip
path: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}

- name: Archive Installer
uses: actions/upload-artifact@v2
Expand All @@ -137,7 +139,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# glob not supported
files: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}.zip
files: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}
release: Continuous Build
tag: continuous-build

Expand All @@ -147,7 +149,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# glob not supported
artifacts: "${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}.zip"
artifacts: ${{runner.workspace}}/build/VNote-${{env.VNOTE_VER}}-win64${{matrix.config.suffix}}
commit: master
tag: v${{env.VNOTE_VER}}
allowUpdates: true
Expand Down

0 comments on commit fab1ca5

Please sign in to comment.