-
-
Notifications
You must be signed in to change notification settings - Fork 331
32 lines (29 loc) · 1.02 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
---
name: Release
on: # yamllint disable-line rule:truthy
push:
branches:
- main
permissions: read-all
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Get app installation token
uses: npalm/action-app-token@dd4bb16d91ced5659bc618705c96b822c5a42136 # ratchet:npalm/[email protected]
id: token
with:
appId: ${{ secrets.RELEASER_APP_ID }}
appPrivateKeyBase64: ${{ secrets.RELEASER_APP_PRIVATE_KEY_BASE64 }}
appInstallationType: repo
appInstallationValue: ${{ github.repository }}
# bootstrap-sha and release-as needs to be removed after first release
- name: Release
uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
with:
token: ${{ steps.token.outputs.token }}
config-file: ".github/.release-please-config.json"
manifest-file: ".github/.release-please-manifest.json"