-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (34 loc) · 1.16 KB
/
release.yml
File metadata and controls
39 lines (34 loc) · 1.16 KB
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
37
38
39
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 }}
permissions:
id-token: write
steps:
- name: Harden the runner
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
with:
egress-policy: block
policy: global-allowed-endpoints-policy
- uses: google-github-actions/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3.7.13
id: release
with:
release-type: node
package-name: "@circle-fin/contract-cli"
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 }}