feat: 添加 beancount 对美团的支持,添加 beancount 对京东新账单格式的支持 (#158) #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: goreleaser | |
# only run on new tag | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
permissions: | |
id-token: write | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create GitHub App Installation Token | |
uses: jnwng/github-app-installation-token-action@v2 | |
id: installationToken | |
with: | |
appId: 233273 | |
installationId: 28742230 | |
privateKey: ${{ secrets.GH_APP_PRIVATE_KEY }} | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.24.1' | |
- | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v3 | |
with: | |
distribution: goreleaser | |
version: ~> 1.20 | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ steps.installationToken.outputs.token }} |