From bba2c4f993ddc6981ae68fac65712344d3b766a0 Mon Sep 17 00:00:00 2001 From: Mario Buikhuizen Date: Thu, 7 Mar 2024 14:31:50 +0100 Subject: [PATCH] ci: release as artifact --- .github/workflows/build.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96f8bd9..decbd9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -102,7 +102,21 @@ jobs: with: name: ipyantd-test-results-${{ github.run_number }} path: test-results - + release_as_artifact: + runs-on: ubuntu-20.04 + needs: [build] + steps: + - uses: actions/download-artifact@v3 + with: + name: ipyantd-dist-${{ github.run_number }} + - name: Extract + run: tar -xvf dist/ipyantd-*.tar.gz && mv ipyantd-* ipyantd + - name: Upload dist artifact + uses: actions/upload-artifact@v3 + with: + name: ipyantd-src-${{ github.run_number }} + path: | + ./ipyantd release: if: startsWith(github.event.ref, 'refs/tags/v') needs: [ui-test]