frp/.github/workflows/goreleaser.yml

31 lines
611 B
YAML
Raw Normal View History

name: goreleaser
on:
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
2021-06-03 00:44:33 +08:00
- name: Make All
run: |
./package.sh
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
2023-07-21 10:30:46 +08:00
args: release --clean --release-notes=./Release.md
env:
2020-11-20 17:35:06 +08:00
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}