diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-09 16:36:20 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-06-09 16:37:12 -0700 |
| commit | aa91955aa4072310fa8113e2fc3e4be4bc188f45 (patch) | |
| tree | 7d6d1c86e02931334bfecff958739fbed033c757 /.github/workflows/go.yml | |
| parent | 6699cff21c226aa900ed3517c0f7ef3d50cefc17 (diff) | |
Add Github workflow config
Diffstat (limited to '.github/workflows/go.yml')
| -rw-r--r-- | .github/workflows/go.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..fab1b78 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,29 @@ +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: Set up Go + uses: actions/setup-go@v4 + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 + with: + distribution: goreleaser + # 'latest', 'nightly', or a semver + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} |