| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- name: release
- on:
- workflow_dispatch:
- push:
- tags:
- - "*"
- concurrency: ${{ github.workflow }}-${{ github.ref }}
- permissions:
- contents: write
- packages: write
- jobs:
- goreleaser:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- fetch-depth: 0
- - run: git fetch --force --tags
- - uses: actions/setup-go@v5
- with:
- go-version: ">=1.23.2"
- cache: true
- cache-dependency-path: go.sum
- - uses: oven-sh/setup-bun@v2
- with:
- bun-version: 1.2.16
- - run: |
- bun install
- ./script/publish.ts
- working-directory: ./packages/opencode
- env:
- GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
- AUR_KEY: ${{ secrets.AUR_KEY }}
|