Skip to content

Commit

Permalink
ci: release as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobuikhuizen committed Mar 7, 2024
1 parent 57f075f commit 80e9c11
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 80e9c11

Please sign in to comment.