Skip to content

fix token

fix token #21

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v3
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.1'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: 'v2.8.2'
args: release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}