Skip to content

Commit

Permalink
align action with build action of goreleaser itself
Browse files Browse the repository at this point in the history
  • Loading branch information
d-rk committed Sep 30, 2022
1 parent ebea5a8 commit 105b481
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ jobs:
with:
go-version: 1.19
-
name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
name: setup-snapcraft
# FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715
run: |
sudo apt-get update
sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
-
name: Docker login
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
Expand Down

0 comments on commit 105b481

Please sign in to comment.