add config for snap (#191)
* add config for snap * place holder * fix build * fit 7.2 * fix lint * no empty
This commit is contained in:
parent
19a6a0c9eb
commit
502249d275
8 changed files with 264 additions and 7 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
|
@ -73,14 +73,9 @@ jobs:
|
|||
cache: true
|
||||
|
||||
- name: Setup Snap
|
||||
env:
|
||||
SNAP_SECRET: ${{ secrets.snap }}
|
||||
run: |
|
||||
set -e
|
||||
|
||||
sudo snap install snapcraft --classic
|
||||
echo $SNAP_SECRET | base64 -d > /tmp/secret
|
||||
snap run snapcraft login --with /tmp/secret
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v4
|
||||
|
|
@ -91,6 +86,7 @@ jobs:
|
|||
env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SKIP_PUSH: ${{ github.event_name != 'release' }}
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||
|
||||
- name: Upload binaries to release
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue