Skip to content

Commit

Permalink
Update cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kmarkindev authored Aug 4, 2021
1 parent a6a6947 commit 5f52310
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
run: cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
run: cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}} --target game-of-life-executable

- name: Create zip archive
uses: vimtor/action-zip@v1
with:
files: build\bin\Release
dest: game.zip
dest: game_of_life.zip

- name: Delete old release
uses: dev-drprasad/[email protected]
Expand All @@ -44,6 +44,6 @@ jobs:
uses: ncipollo/release-action@v1
with:
tag: 'game_of_life.zip'
artifacts: ${{github.workspace}}\game.zip
artifacts: ${{github.workspace}}\game_of_life.zip
body: "Latest game of life executable"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5f52310

Please sign in to comment.