add snap support (#189)

* embed keygen

* add snap

* add generate log
This commit is contained in:
Boshi Lian 2023-08-11 06:25:58 -07:00 • committed by GitHub
parent 0b0bbc4bf9
commit f5b9f7233f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 177 additions and 11 deletions

View file

@ -72,6 +72,16 @@ jobs:
go-version: 'stable'
cache: true
- name: Setup Snap
env:
SNAP_SECRET: ${{ secrets.snap }}
run: |
set -e
sudo snap install snapcraft --classic
echo $SNAP_SECRET | base64 -d > secret
snap run snapcraft login --with secret
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with: