sing-box/.github/workflows/linux.yml

30 lines
752 B
YAML
Raw Normal View History

2024-03-12 22:01:18 +08:00
name: Release to Linux repository
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ^1.22
- name: Publish release
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest
2024-03-16 12:17:55 +08:00
args: release -f .goreleaser.fury.yaml --clean
2024-03-12 22:01:18 +08:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
2024-03-16 12:17:55 +08:00
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}