mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
29 lines
715 B
YAML
29 lines
715 B
YAML
|
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
|
||
|
args: goreleaser release -f .goreleaser.fury.yaml --clean
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
|