Skip to content

Commit

Permalink
releng: use a single action to create a release and upload assets (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkerrigan authored Mar 25, 2024
1 parent 8b55ed4 commit ea049f1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,20 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Fetch Wheels
uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85
with:
pattern: "*"
path: dist
merge-multiple: true
- name: Upload Release Assets
run: |
gh release upload ${{ github.ref_name }} dist/*
env:
GH_TOKEN: ${{ github.token }}
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
token: ${{ github.token }}
draft: false
generateReleaseNotes: true

Upload:
needs: [Release]
Expand Down

0 comments on commit ea049f1

Please sign in to comment.