1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-25 17:00:53 -05:00
sub2sing-box/.github/workflows/goreleaser.yaml

32 lines
619 B
YAML
Raw Normal View History

2024-03-12 12:11:34 -04:00
name: Build and Release
2024-03-11 14:24:23 -04:00
on:
push:
tags:
2024-03-19 10:56:23 -04:00
- "v[0-9].[0-9].[0-9]"
2024-03-11 14:24:23 -04:00
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
2024-03-11 14:58:16 -04:00
permissions:
contents: write
packages: write
2024-03-11 14:24:23 -04:00
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.5
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
2024-03-19 10:27:52 -04:00
args: release --clean
2024-03-11 14:24:23 -04:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}