From f3f2ec91da8d62b2b97615c1a08a989b2908e543 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 3 Jun 2024 11:39:36 -0400 Subject: [PATCH] Package and publish on different jobs Signed-off-by: Juan Cruz Viotti --- .github/workflows/package.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 370a5416..8e1a6fb9 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -55,7 +55,17 @@ jobs: - run: cpack --config build/CPackConfig.cmake -B build/out -C Release - # TODO: Do this from another job in the workflow so we can collect from multiple platforms + - uses: actions/upload-artifact@v4 + with: + name: artifacts + path: build/out/*.zip + retention-days: 1 + + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/download-artifact@v4 + # TODO: Create a proper release if there is a tag instead - run: gh config set prompt disabled env: