frp/.github/workflows/goreleaser.yml

31 lines
613 B
YAML
Raw Normal View History

name: goreleaser
on:
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
2022-10-27 14:22:14 +08:00
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
2022-10-27 14:22:14 +08:00
uses: actions/setup-go@v3
with:
2023-02-05 20:52:36 +08:00
go-version: '1.20'
2021-06-03 00:44:33 +08:00
- name: Make All
run: |
./package.sh
- name: Run GoReleaser
2022-10-27 14:22:14 +08:00
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist --release-notes=./Release.md
env:
2020-11-20 17:35:06 +08:00
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}