mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
Snapcraft login shouldn't be called when credentials are set via env var. (#600)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
parent
be4f7fad88
commit
2c01380709
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -53,7 +53,6 @@ jobs:
|
||||
- name: Setup snapcraft
|
||||
run: |
|
||||
sudo snap install snapcraft --classic --channel=7.x/stable
|
||||
snapcraft login
|
||||
|
||||
# See https://github.com/goreleaser/goreleaser/issues/1715
|
||||
mkdir -p "$HOME/.cache/snapcraft/download"
|
||||
@ -68,3 +67,4 @@ jobs:
|
||||
args: release --clean --timeout=60m --snapshot=${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user