Skip to content

Commit

Permalink
fix(release-please): provide tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
abcdabcd987 committed Dec 28, 2023
1 parent 5ffa766 commit 4cd735b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ jobs:
id: release
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}

wheel:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: ./.github/workflows/release_wheel.yml
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/release_wheel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Release
on:
workflow_call:
inputs:
tag_name:
required: true
type: string
secrets:
WHL_TOKEN:
required: true
Expand Down Expand Up @@ -61,6 +65,7 @@ jobs:

- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ inputs.tag_name }}
files: |
dist/punica-*.whl
dist/punica-*.tar.gz
Expand Down

0 comments on commit 4cd735b

Please sign in to comment.