Skip to content

Commit 2144d1a

Browse files
committed
Upload release artifacts
1 parent 05efea1 commit 2144d1a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

‎.github/workflows/qt-macos.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
zipfile=${repository_name}-${os}-${{ matrix.arch }}-${{ github.run_number }}.zip
5757
macdeployqt ${repository_name}.app -always-overwrite
5858
zip -r ${zipfile} ${repository_name}.app
59-
mv ${zipfile} ../..
59+
mkdir ../../target
60+
mv ${zipfile} ../../target
6061
cd ../..
6162
ls -al
62-
echo "${zipfile}" > assets.txt
6363
6464
- name: Release
6565
uses: softprops/action-gh-release@v2
6666
if: startsWith(github.ref, 'refs/tags/')
6767
with:
68-
files: $(cat assets.txt)
68+
files: target/*.zip

‎.github/workflows/qt-ubuntu.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
chmod +x linuxdeployqt-continuous-x86_64.AppImage
6767
./linuxdeployqt-continuous-x86_64.AppImage ${{ env.CMAKE_BUILD_TYPE }}/${repository_name} -appimage
6868
zip -r ${zipfile} ${{ env.CMAKE_BUILD_TYPE }}/${repository_name}
69-
mv ${zipfile} ..
69+
mkdir ../target
70+
mv ${zipfile} ../target
7071
cd ..
7172
ls -al
72-
echo "${zipfile}" > assets.txt
7373
7474
- name: Release
7575
uses: softprops/action-gh-release@v2
7676
if: startsWith(github.ref, 'refs/tags/')
7777
with:
78-
files: $(cat assets.txt)
78+
files: target/*.zip

‎.github/workflows/qt-windows.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ jobs:
7676
$zipfile = "${repositoryName}-${os}-${{ matrix.arch }}-${{ github.run_number }}.zip"
7777
windeployqt ${env:CMAKE_BUILD_TYPE}\${repositoryName}.exe
7878
Compress-Archive -Path "${env:CMAKE_BUILD_TYPE}" -DestinationPath "${zipfile}"
79-
Move-Item "${zipfile}" ..
79+
New-Item -ItemType Directory -Path "../target"
80+
Move-Item "${zipfile}" "../target"
8081
cd ..
8182
Get-ChildItem
82-
echo "${zipfile}" > assets.txt
8383
8484
- name: Release
8585
uses: softprops/action-gh-release@v2
8686
if: startsWith(github.ref, 'refs/tags/')
8787
with:
88-
files: $(cat assets.txt)
88+
files: target/*.zip

0 commit comments

Comments
 (0)