Skip to content

Commit

Permalink
Upload release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
cgxxv committed Jun 2, 2024
1 parent 05efea1 commit 2144d1a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qt-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
zipfile=${repository_name}-${os}-${{ matrix.arch }}-${{ github.run_number }}.zip
macdeployqt ${repository_name}.app -always-overwrite
zip -r ${zipfile} ${repository_name}.app
mv ${zipfile} ../..
mkdir ../../target
mv ${zipfile} ../../target
cd ../..
ls -al
echo "${zipfile}" > assets.txt
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: $(cat assets.txt)
files: target/*.zip
6 changes: 3 additions & 3 deletions .github/workflows/qt-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ jobs:
chmod +x linuxdeployqt-continuous-x86_64.AppImage
./linuxdeployqt-continuous-x86_64.AppImage ${{ env.CMAKE_BUILD_TYPE }}/${repository_name} -appimage
zip -r ${zipfile} ${{ env.CMAKE_BUILD_TYPE }}/${repository_name}
mv ${zipfile} ..
mkdir ../target
mv ${zipfile} ../target
cd ..
ls -al
echo "${zipfile}" > assets.txt
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: $(cat assets.txt)
files: target/*.zip
6 changes: 3 additions & 3 deletions .github/workflows/qt-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
$zipfile = "${repositoryName}-${os}-${{ matrix.arch }}-${{ github.run_number }}.zip"
windeployqt ${env:CMAKE_BUILD_TYPE}\${repositoryName}.exe
Compress-Archive -Path "${env:CMAKE_BUILD_TYPE}" -DestinationPath "${zipfile}"
Move-Item "${zipfile}" ..
New-Item -ItemType Directory -Path "../target"
Move-Item "${zipfile}" "../target"
cd ..
Get-ChildItem
echo "${zipfile}" > assets.txt
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: $(cat assets.txt)
files: target/*.zip

0 comments on commit 2144d1a

Please sign in to comment.