From 006af153e454e6e1348086edefd16944bd49a83e Mon Sep 17 00:00:00 2001 From: ak5k <42914711+ak5k@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:04:16 +0200 Subject: [PATCH] Add release job to CMake multi-platform workflow --- .github/workflows/cmake-multi-platform.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 878ce2a..f833261 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 @@ -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