Skip to content

chore: use gha instead of drone (#319) #3

chore: use gha instead of drone (#319)

chore: use gha instead of drone (#319) #3

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
runs-on: arc-runner
steps:
- name: Setup Secrets
run: |
echo GITHUB_APP_ID="$(cat /secrets/github-app-id)" >> "$GITHUB_ENV"
{
echo 'GITHUB_PRIVATE_KEY<<EOF'
cat /secrets/github-private-key | base64 -d
echo EOF
} >> "$GITHUB_ENV"
- name: Get token
id: get_token
uses: actions/create-github-app-token@v1
with:
private-key: ${{ env.GITHUB_PRIVATE_KEY }}
app-id: ${{ env.GITHUB_APP_ID }}
- name: Checkout
uses: actions/[email protected]
- uses: google-github-actions/release-please-action@v4
with:
token: "${{ steps.get_token.outputs.token }}"
config-file: release-please-config.json
manifest-file: .release-please-manifest.json