1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 21:54:42 -05:00
sub2clash/.github/workflows/goreleaser.yml
nite07 14c3b97ed2 feat: 修改短链
update: dockerfile,workflow
2024-03-13 13:30:45 +08:00

32 lines
612 B
YAML

name: Build and Release
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
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
args: release --rm-dist --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}