-
Notifications
You must be signed in to change notification settings - Fork 16
36 lines (33 loc) · 1.11 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
push:
branches: [master]
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
did-create-release: ${{ steps.release.outputs.release_created }}
release-tag: ${{ steps.release.outputs.tag_name }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: "@circle-fin/circle-sdk"
changelog-types: |
[
{"type":"feat","section":"New Features","hidden":false},
{"type":"fix","section":"Fixes","hidden":false},
{"type":"chore","section":"Miscellaneous","hidden":true}
]
npm-publish:
needs: release-please
if: needs.release-please.outputs.did-create-release
uses: ./.github/workflows/npm-publish.yml
secrets: inherit
release-sbom:
needs: release-please
if: needs.release-please.outputs.did-create-release
uses: circlefin/circle-public-github-workflows/.github/workflows/attach-release-assets.yaml@v1
with:
release_tag: ${{ needs.release-please.outputs.release-tag }}