Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-jr committed Nov 17, 2023
1 parent 67fac82 commit 7f2a89b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
Binary file added .CMakeLists.txt.swp
Binary file not shown.
23 changes: 6 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,12 @@ jobs:
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
meson install -C "${{github.workspace}}/build"
ls -R output
- name: Check Contents
working-directory: ${{github.workspace}}
run: ls -R ${{ github.workspace }}/output

- name: Zip Files
run: |
cd ${{ github.workspace }}/output/
cd "${{github.workspace}}/output"
7z a windows-Qt-5.15.11-${{ matrix.platform }}.zip QArchive
ls -R .
7z l windows-Qt-5.15.11-${{ matrix.platform }}.zip
mkdir upload
cp *.zip upload/
- name: Upload
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "${{ github.workspace }}/output/windows-Qt-5.15.11-${{ matrix.platform }}.zip"
tag: prebuilt
prerelease: true
wget "https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_windows_amd64.zip"
7z x ghr_v0.16.2_windows_amd64.zip
ghr_v0.16.2_windows_amd64/ghr.exe -replace -delete -draft -prerelease prebuilt upload/

0 comments on commit 7f2a89b

Please sign in to comment.