Skip to content

Commit

Permalink
try fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-jr committed Nov 21, 2023
1 parent a369d52 commit 00bf744
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
windows-msvc:
runs-on: windows-2019
name: windows-msvc-qt-${{ matrix.qt_version }}-${{ matrix.build_type }}
name: windows-msvc${{ matrix.arch }}-qt-${{ matrix.qt_version }}-${{ matrix.build_type }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -46,10 +46,7 @@ jobs:
mkdir build
cd build
cmake -DQARCHIVE_QT_VERSION_MAJOR=5 \
-DQARCHIVE_CONAN_BUILD=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake -DQARCHIVE_QT_VERSION_MAJOR=5 -DQARCHIVE_CONAN_BUILD=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake --build . --config ${{ matrix.build_type }}
cmake --install . --prefix=${{ github.workspace }}/output/QArchive
cd ..
Expand Down Expand Up @@ -81,6 +78,7 @@ jobs:
matrix:
qt_version: [5.15.2]
platform: ['MINGW64']
build_type: [Release]
defaults:
run:
shell: msys2 {0}
Expand Down Expand Up @@ -116,24 +114,16 @@ jobs:
mkdir build
cd build
cmake -DQARCHIVE_QT_VERSION_MAJOR=5 \
-DQARCHIVE_CONAN_BUILD=ON \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake -DQARCHIVE_QT_VERSION_MAJOR=5 -DQARCHIVE_CONAN_BUILD=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
cmake --build . --config ${{ matrix.build_type }}
cmake --install . --prefix=${{ github.workspace }}/output/QArchive
cd ..
cd output
mkdir upload
7z a windows-${{matrix.platform}}-qt-${{matrix.qt_version}}.zip QArchive
cp windows-${{matrix.platform}}-qt-${{matrix.qt_version}}.zip upload/
7z a windows-${{matrix.platform}}-qt-${{matrix.qt_version}}-${{matrix.build_type}}.zip QArchive
cp windows-${{matrix.platform}}-qt-${{matrix.qt_version}}-${{matrix.build_type}}.zip upload/
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 -u antony-jr \
-r QArchive \
-t ${{ secrets.GITHUB_TOKEN }} \
-replace \
-prerelease \
prebuilt upload/
ghr_v0.16.2_windows_amd64/ghr.exe -u antony-jr -r QArchive -t ${{ secrets.GITHUB_TOKEN }} -replace -prerelease prebuilt upload/

0 comments on commit 00bf744

Please sign in to comment.