From 66fbcecc116da8f0af5af16ab68ed728e8e5a32a Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Sun, 1 May 2022 12:47:27 -0500 Subject: Refactor 'electron-builder' configs to move into 'electron-builder.yml' (#79) [skip ci] --- .github/workflows/builds.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.github/workflows/builds.yml') diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 46ca020fa..610826872 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -166,7 +166,7 @@ jobs: shell: bash - name: Build Ferdium with publish for 'nightly' branch if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} - run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} + run: npm run build -- --publish always shell: bash env: GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} @@ -178,7 +178,7 @@ jobs: # CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} - name: Build Ferdium with publish for 'release' branch if: ${{ env.GIT_BRANCH_NAME == 'release' }} - run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} + run: npm run build -- --publish always shell: bash env: GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} @@ -263,7 +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.snap.publish.repo=nightlies -c.snap.publish.channels=edge snapcraft logout shell: bash - name: Build Ferdium with publish for 'release' beta branch @@ -275,7 +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.snap.publish.repo=ferdium -c.snap.publish.channels=beta snapcraft logout shell: bash - name: Build Ferdium with publish for 'release' stable branch @@ -287,7 +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.snap.publish.repo=ferdium -c.snap.publish.channels=stable snapcraft logout shell: bash @@ -364,7 +364,7 @@ jobs: shell: bash - name: Build Ferdium with publish for 'nightly' branch if: ${{ env.GIT_BRANCH_NAME == 'nightly' }} - run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} + run: npm run build -- --publish always shell: bash env: GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} @@ -374,7 +374,7 @@ jobs: # WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} - name: Build Ferdium with publish for 'release' branch if: ${{ env.GIT_BRANCH_NAME == 'release' }} - run: npm run build -- --publish always -c.publish.provider=github -c.publish.owner=${{ github.repository_owner }} + run: npm run build -- --publish always shell: bash env: GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} -- cgit v1.2.3-54-g00ecf