File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1919 runs-on : windows-latest
2020
2121 steps :
22- - uses : actions/checkout@v3
22+ - uses : actions/checkout@v4
2323
2424 - name : Setup zlib
2525 shell : pwsh
2828
2929 - name : Cache qt static build
3030 id : cache-qt-static-build
31- uses : actions/cache@v3
31+ uses : actions/cache@v4
3232 with :
3333 path : Qt6Static
3434 key : ${{ runner.os }}-Qt6Static
@@ -49,16 +49,22 @@ jobs:
4949 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
5050
5151 - name : Upload
52- uses : actions/upload-artifact@v3
52+ uses : actions/upload-artifact@v4
5353 with :
5454 name : CFGEditorPlusPlus
5555 path : ${{github.workspace}}/build/Release/CFGEditorPlusPlus.exe
5656
57+ - name : Move artifact
58+ shell : pwsh
59+ if : startsWith(github.ref, 'refs/tags')
60+ run : |
61+ Move-Item -Path ${{github.workspace}}/build/Release/CFGEditorPlusPlus.exe -Destination ${{github.workspace}}/CFGEditorPlusPlus.exe
62+
5763 - name : Release
58- uses : softprops/action-gh-release@v1
64+ uses : softprops/action-gh-release@v2
5965 if : startsWith(github.ref, 'refs/tags')
6066 with :
6167 generate_release_notes : true
6268 prerelease : true
63- files : ${{github.workspace}}/build/Release/ CFGEditorPlusPlus.exe
69+ files : CFGEditorPlusPlus.exe
6470
You can’t perform that action at this time.
0 commit comments