From c7cebb4f0e4e5665b930e14545be3e821bde71a7 Mon Sep 17 00:00:00 2001 From: NAmorim Date: Tue, 19 Oct 2021 15:21:57 +0100 Subject: [PATCH] Cleaned up workflows --- .github/workflows/release_build.yml | 2 +- .github/workflows/release_build_dev.yml | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 272485c9f..e448ed7e5 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -33,7 +33,7 @@ jobs: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings) github_token: ${{ secrets.github_token }} - args: "-c build/electron-builder.json" + args: "-c.extraMetadata.main=electron-wrapper.js -c build/electron-builder.json" # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building diff --git a/.github/workflows/release_build_dev.yml b/.github/workflows/release_build_dev.yml index 498e2a2c6..feb7d2a58 100644 --- a/.github/workflows/release_build_dev.yml +++ b/.github/workflows/release_build_dev.yml @@ -21,7 +21,7 @@ jobs: id: version uses: nyaa8/package-version@v1 with: - path: './package.json' # Optional + path: './package.json' - name: Create nightly release id: create_release @@ -60,14 +60,7 @@ jobs: id: version uses: nyaa8/package-version@v1 with: - path: './package.json' # Optional - - #- name: Update package.json version - # uses: jossef/action-set-json-field@v1 - # with: - # file: package.json - # field: version - # value: ${{ env.PACKAGE_VERSION }}.${{ steps.date.outputs.date }} + path: './package.json' - name: Build/release Electron app #env: