Skip to content

Commit

Permalink
Add release job to CMake multi-platform workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Jan 3, 2024
1 parent 50fe6bc commit 006af15
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@ jobs:
./reaper_*.dylib
./reaper_*.so
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: my-artifact
path: ./artifacts

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -121,12 +131,6 @@ jobs:
draft: false
prerelease: false

- name: Download artifact
uses: actions/download-artifact@v2
with:
name: my-artifact
path: ./artifacts

- name: Upload Release Assets
run: |
for file in ./artifacts/*; do
Expand Down

0 comments on commit 006af15

Please sign in to comment.