fix upload #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Prebuilt | ||
on: | ||
push: | ||
branches: | ||
- add-prebuilts | ||
env: | ||
BUILD_TYPE: Release | ||
jobs: | ||
windows: | ||
runs-on: windows-latest | ||
name: MSYS2-${{matrix.platform}} | ||
strategy: | ||
matrix: | ||
platform: ['MINGW64'] | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: ${{matrix.platform}} | ||
pacboy: >- | ||
cc:p | ||
libarchive:p | ||
meson:p | ||
ninja:p | ||
pkgconf:p | ||
qt5-base:p | ||
install: >- | ||
p7zip | ||
- name: Make Output Directory | ||
run: | | ||
mkdir -p ${{github.workspace}}/output/QArchive | ||
- name: Compile and Test | ||
run: | | ||
meson setup "${{github.workspace}}/build" --prefix "${{github.workspace}}/output/QArchive" -Dauto_features=disabled -Dwarning_level=3 -Dcpp_std=c++20 | ||
meson compile -C "${{github.workspace}}/build" --verbose | ||
meson test -C "${{github.workspace}}/build" --verbose | ||
meson install -C "${{github.workspace}}/build" | ||
- name: Check Contents | ||
working-directory: ${{github.workspace}} | ||
run: ls -R ${{ github.workspace }}/output | ||
- name: Zip Files | ||
run: | | ||
cd ${{ github.workspace }}/output/ | ||
7z a windows-Qt-5.15.2-${{ matrix.platform }}.zip QArchive | ||
- name: Upload Bundles | ||
working-directory: ${{ github.workspace }}/output | ||
uses: svenstaro/upload-release-action@v2 | ||
Check failure on line 59 in .github/workflows/deploy.yml GitHub Actions / Deploy PrebuiltInvalid workflow file
|
||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: windows-Qt-5.15.2-${{ matrix.platform }}.zip | ||
tag: prebuilt | ||
overwrite: true | ||
prerelease: true | ||
release_name: "Prebuilt Library" | ||
body: "Prebuilt binaries for QArchive, to use with Qt prebuilds. (Work in Progress)" |