Skip to content

Commit

Permalink
ci: use actions-github-app to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Mar 22, 2024
1 parent 2999fac commit 8761e0b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@ jobs:
create-release:
runs-on: ubuntu-latest
environment:
name: master branch
name: actions-github-app
outputs:
version: ${{ steps.update-version.outputs.version }}
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ secrets.MASTER_GITHUB_PAT }}
token: ${{ steps.app-token.outputs.token }}
submodules: recursive
- uses: anatawa12/something-releaser@v2
- uses: snow-actions/[email protected]
Expand Down

0 comments on commit 8761e0b

Please sign in to comment.