From 55d78ac763005117fc3e118e11144d50ac1c96e5 Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Mon, 16 Aug 2021 14:39:39 +0200 Subject: build: fix snap asset on GitHub (#1802) * build: fix snap asset on GitHub: move snap repo and releaseType configuration to ferdi-builds.yml --- .github/workflows/ferdi-builds.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 885d3e656..42c3b6e30 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -262,7 +262,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.publish.repo=nightlies + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=nightlies -c.snap.publish.repo=nightlies -c.snap.publish.releaseType=prerelease -c.snap.publish.channels=edge snapcraft logout shell: bash - name: Build Ferdi with publish for 'release' beta branch @@ -274,7 +274,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.publish.repo=ferdi -c.snap.publish.channels=beta + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.repo=ferdi -c.snap.publish.releaseType=prerelease -c.snap.publish.channels=beta snapcraft logout shell: bash - name: Build Ferdi with publish for 'release' stable branch @@ -286,7 +286,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.publish.repo=ferdi -c.snap.publish.channels=stable + npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} -c.publish.repo=ferdi -c.snap.publish.repo=ferdi -c.snap.publish.releaseType=release -c.snap.publish.channels=stable snapcraft logout shell: bash -- cgit v1.2.3-54-g00ecf