From de43233f36008be4b46b3bb5b6ce287498e039c3 Mon Sep 17 00:00:00 2001 From: Anton Bracke Date: Fri, 18 Feb 2022 12:02:41 +0100 Subject: [PATCH] fix release --- .../workflows/build-and-release-desktop.yml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-release-desktop.yml b/.github/workflows/build-and-release-desktop.yml index e166c47f..d0bfc47c 100644 --- a/.github/workflows/build-and-release-desktop.yml +++ b/.github/workflows/build-and-release-desktop.yml @@ -30,7 +30,9 @@ jobs: working-directory: "desktop" - name: "Build App" - run: yarn bundle + run: yarn bundle --publish never + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} working-directory: "desktop" if: ${{ github.event_name != 'release' }} @@ -61,13 +63,15 @@ jobs: working-directory: "desktop" - name: "Build App" - run: yarn bundle + run: yarn bundle --publish never + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} working-directory: "desktop" if: ${{ github.event_name != 'release' }} - name: "Build & Publish App" - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: yarn release working-directory: "desktop" if: ${{ github.event_name == 'release' }} @@ -92,13 +96,15 @@ jobs: working-directory: "desktop" - name: "Build App" - run: yarn bundle + run: yarn bundle --publish never + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} working-directory: "desktop" if: ${{ github.event_name != 'release' }} - name: "Build & Publish App" - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: yarn release working-directory: "desktop" if: ${{ github.event_name == 'release' }}