From 0f8e64bb4d9928915a7f7a1e9ea91cfcb94926bb Mon Sep 17 00:00:00 2001 From: Jonathan Hope Date: Tue, 2 Jan 2024 17:03:55 -0800 Subject: [PATCH] feat: working on publishing the snap --- .github/workflows/release.yml | 1 + tools/snapcraft | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6997fea..8e3abe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,3 +29,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WINGET_AUTH_TOKEN: ${{ secrets.WINGET_AUTH_TOKEN }} TAP_AUTH_TOKEN: ${{ secrets.TAP_AUTH_TOKEN }} + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} diff --git a/tools/snapcraft b/tools/snapcraft index a99e988..0ce3129 100755 --- a/tools/snapcraft +++ b/tools/snapcraft @@ -1,3 +1,3 @@ #!/usr/bin/env bash -docker run -v $PWD:/build -w /build snapcore/snapcraft:stable snapcraft $@ +docker run --env SNAPCRAFT_STORE_CREDENTIALS -v $PWD:/build -w /build snapcore/snapcraft:stable snapcraft $@