File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments