Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Atari2 committed Apr 1, 2024
1 parent 275f115 commit bcc2132
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup zlib
shell: pwsh
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Cache qt static build
id: cache-qt-static-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: Qt6Static
key: ${{ runner.os }}-Qt6Static
Expand All @@ -49,16 +49,22 @@ jobs:
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: CFGEditorPlusPlus
path: ${{github.workspace}}/build/Release/CFGEditorPlusPlus.exe

- name: Move artifact
shell: pwsh
if: startsWith(github.ref, 'refs/tags')
run: |
Move-Item -Path ${{github.workspace}}/build/Release/CFGEditorPlusPlus.exe -Destination ${{github.workspace}}/CFGEditorPlusPlus.exe
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags')
with:
generate_release_notes: true
prerelease: true
files: ${{github.workspace}}/build/Release/CFGEditorPlusPlus.exe
files: CFGEditorPlusPlus.exe

0 comments on commit bcc2132

Please sign in to comment.