Skip to content

Commit

Permalink
Fix Snapcraft release
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed Mar 3, 2023
1 parent 1767333 commit 12b1483
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v3
- name: Install Snapcraft
run: sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
- name: Login to Snapcraft
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
run: snapcraft login
- name: Create Snapcraft folders
run: |
mkdir -p $HOME/.cache/snapcraft/download
mkdir -p $HOME/.cache/snapcraft/stage-packages
- name: Set up Go
uses: actions/setup-go@v3
with:
Expand Down Expand Up @@ -46,3 +46,4 @@ jobs:
args: release --release-notes /tmp/release-notes.md
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}

0 comments on commit 12b1483

Please sign in to comment.