fix release

This commit is contained in:
Anton Bracke 2022-02-18 12:02:41 +01:00
parent 1c1d61bd60
commit de43233f36
No known key found for this signature in database
GPG Key ID: B1222603899C6B25

View File

@ -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' }}