From 7586fb6d51eb8ebc64e957ca6f9705d8f666b6f4 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 1 May 2022 00:03:49 -0500 Subject: Fix snap command issue in build script [skip ci] --- .github/workflows/builds.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9bf59a8a9..46ca020fa 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -263,8 +263,7 @@ jobs: run: | sudo snap install snapcraft --classic echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - - npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} - -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.snap.publish.provider=snapStore -c.snap.publish.repo=nightlies -c.snap.publish.channels=edge snapcraft logout shell: bash - name: Build Ferdium with publish for 'release' beta branch @@ -276,8 +275,7 @@ jobs: run: | sudo snap install snapcraft --classic echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - - npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} - -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=beta snapcraft logout shell: bash - name: Build Ferdium with publish for 'release' stable branch @@ -289,8 +287,7 @@ jobs: run: | sudo snap install snapcraft --classic echo "$SNAPCRAFT_LOGIN" | snapcraft login --with - - npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} - -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.snap.publish.provider=snapStore -c.snap.publish.repo=ferdium -c.snap.publish.channels=stable snapcraft logout shell: bash -- cgit v1.2.3-54-g00ecf