We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7c51b8 commit b48d71aCopy full SHA for b48d71a
.github/workflows/release-please.yml
@@ -15,13 +15,13 @@ jobs:
15
with:
16
release-type: node
17
package-name: react-alternating-timeline
18
+ outputs:
19
+ ref: refs/tags/${{ steps.release.outputs.tag_name }}
20
+ released: ${{ steps.release.outputs.releases_created }}
21
- - name: Checkout repo
- uses: actions/checkout@v3
- if: ${{ steps.release.outputs.releases_created }}
22
-
23
- - name: Call for deployment
24
- uses: ./.github/workflows/cd-npm.yml
25
- with:
26
- ref: refs/tags/${{ steps.release.outputs.tag_name }}
27
+ call-for-deployment:
+ uses: ./.github/workflows/cd-npm.yml
+ needs: release-please
+ with:
+ ref: refs/tags/${{ needs.release-please.outputs.ref }}
+ if: ${{ needs.release-please.outputs.released }}
0 commit comments