Skip to content

fix: use action-snapcraft@v2 #26

fix: use action-snapcraft@v2

fix: use action-snapcraft@v2 #26

Workflow file for this run

name: release
on:
push:
tags:
- "*"
jobs:
release:
name: Goreleaser
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
- name: Checkout
uses: actions/checkout@v1
# snapcraft export-login --snaps bump -
- name: Snapcraft Action
uses: samuelmeuli/action-snapcraft@v2
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_TOKEN: ${{ secrets.TAP_TOKEN }}