This repository has been archived on 2025-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
ssh-action/.github/workflows/goreleaser.yml
wangdepei bd66a423ea
Some checks failed
testing main branch / testing-script-error (push) Waiting to run
testing stable version / default-user-name-password (push) Has been cancelled
testing stable version / check-ssh-key (push) Has been cancelled
testing stable version / support-key-passphrase (push) Has been cancelled
testing stable version / multiple-server (push) Has been cancelled
testing stable version / support-ed25519-key (push) Has been cancelled
testing stable version / testing-with-env (push) Has been cancelled
testing main branch / default-user-name-password (push) Has been cancelled
testing main branch / check-ssh-key (push) Has been cancelled
testing main branch / support-key-passphrase (push) Has been cancelled
testing main branch / multiple-server (push) Has been cancelled
testing main branch / support-ed25519-key (push) Has been cancelled
testing main branch / testing-with-env (push) Has been cancelled
testing main branch / testing ipv6 (push) Has been cancelled
testing main branch / some special character (push) Has been cancelled
testing main branch / testing-capturing-output (push) Has been cancelled
testing main branch / testing-script-stop (push) Has been cancelled
init
2025-06-05 13:08:30 +08:00

34 lines
648 B
YAML

name: Goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: "^1"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}