From 69ce440ea4e82c951138514c0ba3de2746bca3a5 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:15:30 -0800 Subject: [PATCH 01/23] Update build-samuelmeuli.yml --- .github/workflows/build-samuelmeuli.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-samuelmeuli.yml b/.github/workflows/build-samuelmeuli.yml index 5e31fff..6708c8e 100644 --- a/.github/workflows/build-samuelmeuli.yml +++ b/.github/workflows/build-samuelmeuli.yml @@ -3,13 +3,9 @@ name: Build/release on: push jobs: - release: - runs-on: ${{ matrix.os }} - - strategy: - matrix: - os: [macos-latest, ubuntu-latest, windows-latest] - + build-mac: + # The type of runner that the job will run on + runs-on: macos-latest steps: - name: Check out Git repository uses: actions/checkout@v1 @@ -29,3 +25,9 @@ jobs: # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building release: ${{ startsWith(github.ref, 'refs/tags/v') }} + - name: Install deps + run: yarn + + - name: build + run: yarn build-mac + From e27bade696fcc534e2b5af8ff99d2d0512cba0e1 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:17:28 -0800 Subject: [PATCH 02/23] Update build-samuelmeuli.yml --- .github/workflows/build-samuelmeuli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-samuelmeuli.yml b/.github/workflows/build-samuelmeuli.yml index 6708c8e..4a91244 100644 --- a/.github/workflows/build-samuelmeuli.yml +++ b/.github/workflows/build-samuelmeuli.yml @@ -1,6 +1,6 @@ name: Build/release -on: push +#on: push jobs: build-mac: From 81ad042328e428e0a3fe23b7070f50fb9a556f65 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:18:02 -0800 Subject: [PATCH 03/23] Create build.yml --- .github/workflows/build.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8bbaa37 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,37 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Release' + # Default value if no value is explicitly provided + default: 'false' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build-mac: + # The type of runner that the job will run on + runs-on: macos-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn + + - name: build + run: yarn build-mac + From 813ab9e2a76c0bc2713ca060522e8ba3c5129046 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:18:30 -0800 Subject: [PATCH 04/23] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bbaa37..872ce40 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,6 @@ # This is a basic workflow that is manually triggered -name: Manual workflow +name: Build # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. From 0063deb32617dddc29d4ec03ded008c194e21f3a Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:24:49 -0800 Subject: [PATCH 05/23] Update build.yml --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 872ce40..f198bec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,4 +34,6 @@ jobs: - name: build run: yarn build-mac + env: + GH_TOKEN: ${{ secrets.github_token }} From 09d708d8e79d42110b04d4e5b6d97de9497f1700 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:30:05 -0800 Subject: [PATCH 06/23] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f198bec..92c3d1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,11 +8,11 @@ on: workflow_dispatch: # Inputs the workflow accepts. inputs: - name: + release: # Friendly description to be shown in the UI instead of 'name' description: 'Release' # Default value if no value is explicitly provided - default: 'false' + default: 'never' # Input has to be provided for the workflow to run required: true @@ -33,7 +33,7 @@ jobs: run: yarn - name: build - run: yarn build-mac + run: yarn build-mac -- -p ${{ github.event.inputs.release }} env: GH_TOKEN: ${{ secrets.github_token }} From 46f1e5f6af4da0ff953ec57cd60b4d34e4a4671d Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:34:53 -0800 Subject: [PATCH 07/23] Delete build-samuelmeuli.yml --- .github/workflows/build-samuelmeuli.yml | 33 ------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/build-samuelmeuli.yml diff --git a/.github/workflows/build-samuelmeuli.yml b/.github/workflows/build-samuelmeuli.yml deleted file mode 100644 index 4a91244..0000000 --- a/.github/workflows/build-samuelmeuli.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Build/release - -#on: push - -jobs: - build-mac: - # The type of runner that the job will run on - runs-on: macos-latest - steps: - - name: Check out Git repository - uses: actions/checkout@v1 - - - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v1 - with: - node-version: 10 - - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - github_token: ${{ secrets.github_token }} - - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - - name: Install deps - run: yarn - - - name: build - run: yarn build-mac - From bb866f156477084b1d0b81e0a2d9d500b5f5d0f3 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:38:18 -0800 Subject: [PATCH 08/23] Update build.yml --- .github/workflows/build.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92c3d1f..66f5ed2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,17 @@ jobs: - name: Install deps run: yarn - - name: build - run: yarn build-mac -- -p ${{ github.event.inputs.release }} + - name: Build + run: yarn build-mac -p ${{ github.event.inputs.release }} env: GH_TOKEN: ${{ secrets.github_token }} + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2.2.2 + with: + # Artifact name + name: dist-mac # optional, default is artifact + # A file, directory or wildcard pattern that describes what to upload + path: dist + # The desired behavior if no files are fou + From 317d606711d350c6d18020b3508361cb19df2cbd Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 19:40:32 -0800 Subject: [PATCH 09/23] Update and rename build.yml to release.yml --- .github/workflows/{build.yml => release.yml} | 48 +++++++++++++++----- 1 file changed, 37 insertions(+), 11 deletions(-) rename .github/workflows/{build.yml => release.yml} (51%) diff --git a/.github/workflows/build.yml b/.github/workflows/release.yml similarity index 51% rename from .github/workflows/build.yml rename to .github/workflows/release.yml index 66f5ed2..d863af3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ # This is a basic workflow that is manually triggered -name: Build +name: Release # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. @@ -18,7 +18,7 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - build-mac: + release-mac: # The type of runner that the job will run on runs-on: macos-latest steps: @@ -36,13 +36,39 @@ jobs: run: yarn build-mac -p ${{ github.event.inputs.release }} env: GH_TOKEN: ${{ secrets.github_token }} - - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.2 - with: - # Artifact name - name: dist-mac # optional, default is artifact - # A file, directory or wildcard pattern that describes what to upload - path: dist - # The desired behavior if no files are fou - + release-windows: + # The type of runner that the job will run on + runs-on: macos-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn + + - name: Build + run: yarn build-windows -p ${{ github.event.inputs.release }} + env: + GH_TOKEN: ${{ secrets.github_token }} + release-linux: + # The type of runner that the job will run on + runs-on: macos-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn + - name: Build + run: yarn build-linux -p ${{ github.event.inputs.release }} + env: + GH_TOKEN: ${{ secrets.github_token }} From 8102aeeff304edec6f7b189ad425394bff926441 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 21:13:05 -0800 Subject: [PATCH 10/23] Update release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d863af3..3d79e23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: GH_TOKEN: ${{ secrets.github_token }} release-windows: # The type of runner that the job will run on - runs-on: macos-latest + runs-on: windows-latest steps: - name: Check out Git repository uses: actions/checkout@v1 @@ -56,7 +56,7 @@ jobs: GH_TOKEN: ${{ secrets.github_token }} release-linux: # The type of runner that the job will run on - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: Check out Git repository uses: actions/checkout@v1 @@ -66,7 +66,7 @@ jobs: with: node-version: 15 - name: Install deps - run: yarn + run: yarn - name: Build run: yarn build-linux -p ${{ github.event.inputs.release }} From 79be03d0bb0ac3a2c23f532cf383f9534fc04f57 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 21:20:40 -0800 Subject: [PATCH 11/23] Update release.yml --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d79e23..112fed6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,9 +65,12 @@ jobs: uses: actions/setup-node@v1 with: node-version: 15 + + - name: Install Snapcraft + run: sudo snap install snapcraft --classic - name: Install deps - run: yarn - + run: yarn + - name: Build run: yarn build-linux -p ${{ github.event.inputs.release }} env: From 34d928d6b2adeff05b31f96d8589055657faba17 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Tue, 9 Feb 2021 21:27:05 -0800 Subject: [PATCH 12/23] Update release.yml --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 112fed6..8b0d7d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,8 +66,8 @@ jobs: with: node-version: 15 - - name: Install Snapcraft - run: sudo snap install snapcraft --classic + - name: Install Snapcraft and Multipass + run: sudo snap install snapcraft --classic && sudo snap install multipass - name: Install deps run: yarn From b10f755bb1ed332796df18214f4d0fae30fefadd Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Wed, 10 Feb 2021 18:25:20 -0800 Subject: [PATCH 13/23] Update release.yml --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b0d7d4..77325ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,8 +70,19 @@ jobs: run: sudo snap install snapcraft --classic && sudo snap install multipass - name: Install deps run: yarn - - name: Build - run: yarn build-linux -p ${{ github.event.inputs.release }} + run: | + docker run --rm \ + --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \ + -v ${PWD}:/project \ + -v ~/.cache/electron:/root/.cache/electron \ + -v ~/.cache/electron-builder:/root/.cache/electron-builder \ + electronuserland/builder:wine \ + /bin/bash -c "yarn && yarn build-linux -p ${{ github.event.inputs.release }}" env: GH_TOKEN: ${{ secrets.github_token }} + +# - name: Build +# run: yarn build-linux -p ${{ github.event.inputs.release }} +# env: +# GH_TOKEN: ${{ secrets.github_token }} From 7e41634b927dec76adc80ff9087f3fdcda3c9b96 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Wed, 10 Feb 2021 18:30:17 -0800 Subject: [PATCH 14/23] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77325ef..69192e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,7 +77,7 @@ jobs: -v ${PWD}:/project \ -v ~/.cache/electron:/root/.cache/electron \ -v ~/.cache/electron-builder:/root/.cache/electron-builder \ - electronuserland/builder:wine \ + electronuserland/builder \ /bin/bash -c "yarn && yarn build-linux -p ${{ github.event.inputs.release }}" env: GH_TOKEN: ${{ secrets.github_token }} From fa12ca212f6b1f4221b6c07c5efcf214eba8d4dc Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 15:27:53 -0800 Subject: [PATCH 15/23] Create package.yml --- .github/workflows/package.yml | 114 ++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 .github/workflows/package.yml diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml new file mode 100644 index 0000000..2e38f1f --- /dev/null +++ b/.github/workflows/package.yml @@ -0,0 +1,114 @@ +# This is a basic workflow that is manually triggered + +name: Package + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + release: + # Friendly description to be shown in the UI instead of 'name' + description: 'Release' + # Default value if no value is explicitly provided + default: 'never' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + package-mac: + # The type of runner that the job will run on + runs-on: macos-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn && npm install electron-packager -g + + - name: Package + run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 + - name: Zip builds + run: zip nativefier-gui-darwin-x64 -r nativefier-gui-darwin-x64.zip && zip nativefier-gui-darwin-arm64 -r nativefier-gui-darwin-arm64.zip + - name: Upload Mac x64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-darwin-x64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-x64.zip + - name: Upload Mac arm64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-darwin-arm64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-arm64.zip + package-windows: + # The type of runner that the job will run on + runs-on: windows-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn && npm install electron-packager -g + + - name: Package + run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 + - name: Upload Windows x64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-win32-x64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-x64.zip + - name: Upload Windows arm64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-win32-arm64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-arm64.zip + - name: Upload Windows ia32 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-win32-ia32 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-ia32.zip + release-linux: + # The type of runner that the job will run on + runs-on: ubuntu-latest + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 15 + - name: Install deps + run: yarn && npm install electron-packager -g + - name: Package + run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 && electron-packager . --arch=armv7l + - name: Upload Linux x64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-linux-x64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64.zip + - name: Upload Linux arm64 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-linux-arm64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-arm64.zip + - name: Upload Linux ia32 Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-linux-x64 + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64.zip + - name: Upload Linux armv7l Build + uses: actions/upload-artifact@v2 + with: + name: nativefier-gui-linux-armv7l + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-armv7l.zip From 3d0bac54a19fd903c14ffde8a40041edb8da2b7b Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 15:35:37 -0800 Subject: [PATCH 16/23] Update package.yml --- .github/workflows/package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 2e38f1f..6910e35 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -62,6 +62,8 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 + - name: Zip builds + run: zip nativefier-gui-win32-x64 -r nativefier-gui-win32-x64.zip && zip nativefier-gui-win32-arm64 -r nativefier-gui-win32-arm64.zip && zip nativefier-gui-win32-ia32 -r nativefier-gui-win32-ia32.zip - name: Upload Windows x64 Build uses: actions/upload-artifact@v2 with: @@ -92,6 +94,8 @@ jobs: run: yarn && npm install electron-packager -g - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 && electron-packager . --arch=armv7l + - name: Zip builds + run: zip nativefier-gui-linux-x64 -r nativefier-gui-linux-x64.zip && zip nativefier-gui-linux-arm64 -r nativefier-gui-linux-arm64.zip && zip nativefier-gui-linux-ia32 -r nativefier-gui-linux-ia32.zip && zip nativefier-gui-linux-armv7l -r nativefier-gui-linux-armv7l.zip - name: Upload Linux x64 Build uses: actions/upload-artifact@v2 with: From af0977fae51eda94efdd6f517ff4f00441067f17 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 16:32:25 -0800 Subject: [PATCH 17/23] Update package.yml --- .github/workflows/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 6910e35..bb710e9 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -63,7 +63,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 - name: Zip builds - run: zip nativefier-gui-win32-x64 -r nativefier-gui-win32-x64.zip && zip nativefier-gui-win32-arm64 -r nativefier-gui-win32-arm64.zip && zip nativefier-gui-win32-ia32 -r nativefier-gui-win32-ia32.zip + run: tar.exe -a -c -f nativefier-gui-win32-x64.zip nativefier-gui-win32-x64 & tar.exe -a -c -f nativefier-gui-win32-arm64.zip nativefier-gui-win32-arm64 & tar.exe -a -c -f nativefier-gui-win32-ia32.zip nativefier-gui-win32-ia32 - name: Upload Windows x64 Build uses: actions/upload-artifact@v2 with: From 0ae0fed94f27efb9a36c90e561ac2a9eaa5bd3d6 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 16:43:05 -0800 Subject: [PATCH 18/23] Update package.yml --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index bb710e9..03d62b0 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -63,7 +63,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 - name: Zip builds - run: tar.exe -a -c -f nativefier-gui-win32-x64.zip nativefier-gui-win32-x64 & tar.exe -a -c -f nativefier-gui-win32-arm64.zip nativefier-gui-win32-arm64 & tar.exe -a -c -f nativefier-gui-win32-ia32.zip nativefier-gui-win32-ia32 + run: dir && tar.exe -a -c -f nativefier-gui-win32-x64.zip nativefier-gui-win32-x64 & tar.exe -a -c -f nativefier-gui-win32-arm64.zip nativefier-gui-win32-arm64 & tar.exe -a -c -f nativefier-gui-win32-ia32.zip nativefier-gui-win32-ia32 - name: Upload Windows x64 Build uses: actions/upload-artifact@v2 with: @@ -95,7 +95,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 && electron-packager . --arch=armv7l - name: Zip builds - run: zip nativefier-gui-linux-x64 -r nativefier-gui-linux-x64.zip && zip nativefier-gui-linux-arm64 -r nativefier-gui-linux-arm64.zip && zip nativefier-gui-linux-ia32 -r nativefier-gui-linux-ia32.zip && zip nativefier-gui-linux-armv7l -r nativefier-gui-linux-armv7l.zip + run: ls && zip nativefier-gui-linux-x64 -r nativefier-gui-linux-x64.zip && zip nativefier-gui-linux-arm64 -r nativefier-gui-linux-arm64.zip && zip nativefier-gui-linux-ia32 -r nativefier-gui-linux-ia32.zip && zip nativefier-gui-linux-armv7l -r nativefier-gui-linux-armv7l.zip - name: Upload Linux x64 Build uses: actions/upload-artifact@v2 with: From c7acf09592448dd7166869ea6cd16308a3a3fdab Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 16:47:47 -0800 Subject: [PATCH 19/23] Update package.yml --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 03d62b0..11cf9f3 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -35,7 +35,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 - name: Zip builds - run: zip nativefier-gui-darwin-x64 -r nativefier-gui-darwin-x64.zip && zip nativefier-gui-darwin-arm64 -r nativefier-gui-darwin-arm64.zip + run: zip nativefier-gui-darwin-x64.zip -r nativefier-gui-darwin-x64 && zip nativefier-gui-darwin-arm64.zip -r nativefier-gui-darwin-arm64 - name: Upload Mac x64 Build uses: actions/upload-artifact@v2 with: @@ -95,7 +95,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 && electron-packager . --arch=armv7l - name: Zip builds - run: ls && zip nativefier-gui-linux-x64 -r nativefier-gui-linux-x64.zip && zip nativefier-gui-linux-arm64 -r nativefier-gui-linux-arm64.zip && zip nativefier-gui-linux-ia32 -r nativefier-gui-linux-ia32.zip && zip nativefier-gui-linux-armv7l -r nativefier-gui-linux-armv7l.zip + run: ls && zip nativefier-gui-linux-x64.zip -r nativefier-gui-linux-x64 && zip nativefier-gui-linux-arm64.zip -r nativefier-gui-linux-arm64 && zip nativefier-gui-linux-ia32.zip -r nativefier-gui-linux-ia32 && zip nativefier-gui-linux-armv7l.zip -r nativefier-gui-linux-armv7l - name: Upload Linux x64 Build uses: actions/upload-artifact@v2 with: From 4f6088766027f815cf625602afb279fbfac19ad9 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:07:57 -0800 Subject: [PATCH 20/23] Update package.yml --- .github/workflows/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 11cf9f3..f5ef08e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -35,7 +35,7 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 - name: Zip builds - run: zip nativefier-gui-darwin-x64.zip -r nativefier-gui-darwin-x64 && zip nativefier-gui-darwin-arm64.zip -r nativefier-gui-darwin-arm64 + run: ls && zip nativefier-gui-darwin-x64.zip -r nativefier-gui-darwin-x64 && zip nativefier-gui-darwin-arm64.zip -r nativefier-gui-darwin-arm64 - name: Upload Mac x64 Build uses: actions/upload-artifact@v2 with: From f1be292801f8c5394d88fcad5c8e63a00b5cbd61 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:14:17 -0800 Subject: [PATCH 21/23] Update package.yml --- .github/workflows/package.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index f5ef08e..e6bd090 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -34,18 +34,16 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 - - name: Zip builds - run: ls && zip nativefier-gui-darwin-x64.zip -r nativefier-gui-darwin-x64 && zip nativefier-gui-darwin-arm64.zip -r nativefier-gui-darwin-arm64 - name: Upload Mac x64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-darwin-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-x64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-x64 - name: Upload Mac arm64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-darwin-arm64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-arm64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-arm64 package-windows: # The type of runner that the job will run on runs-on: windows-latest @@ -62,23 +60,21 @@ jobs: - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 - - name: Zip builds - run: dir && tar.exe -a -c -f nativefier-gui-win32-x64.zip nativefier-gui-win32-x64 & tar.exe -a -c -f nativefier-gui-win32-arm64.zip nativefier-gui-win32-arm64 & tar.exe -a -c -f nativefier-gui-win32-ia32.zip nativefier-gui-win32-ia32 - name: Upload Windows x64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-x64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-x64 - name: Upload Windows arm64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-arm64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-arm64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-arm64 - name: Upload Windows ia32 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-ia32 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-ia32.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-ia32 release-linux: # The type of runner that the job will run on runs-on: ubuntu-latest @@ -94,25 +90,23 @@ jobs: run: yarn && npm install electron-packager -g - name: Package run: electron-packager . --arch=x64 && electron-packager . --arch=arm64 && electron-packager . --arch=ia32 && electron-packager . --arch=armv7l - - name: Zip builds - run: ls && zip nativefier-gui-linux-x64.zip -r nativefier-gui-linux-x64 && zip nativefier-gui-linux-arm64.zip -r nativefier-gui-linux-arm64 && zip nativefier-gui-linux-ia32.zip -r nativefier-gui-linux-ia32 && zip nativefier-gui-linux-armv7l.zip -r nativefier-gui-linux-armv7l - name: Upload Linux x64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-linux-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64 - name: Upload Linux arm64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-linux-arm64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-arm64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-arm64 - name: Upload Linux ia32 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-linux-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-x64 - name: Upload Linux armv7l Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-linux-armv7l - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-armv7l.zip + path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-linux-armv7l From 895bcd52dd931fbe6dcda8f75f948a6f5692517e Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:21:48 -0800 Subject: [PATCH 22/23] Update package.yml --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index e6bd090..34226df 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -38,12 +38,12 @@ jobs: uses: actions/upload-artifact@v2 with: name: nativefier-gui-darwin-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-x64 + path: /Users/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-x64 - name: Upload Mac arm64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-darwin-arm64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-arm64 + path: /Users/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-darwin-arm64 package-windows: # The type of runner that the job will run on runs-on: windows-latest From da2990c9ed95f43b6236b5ba3d178eb962b1e988 Mon Sep 17 00:00:00 2001 From: Matthew Ruzzi <68619790+mattruzzi@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:26:14 -0800 Subject: [PATCH 23/23] Update package.yml --- .github/workflows/package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 34226df..578f246 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -64,17 +64,17 @@ jobs: uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-x64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-x64 + path: D:\a\nativefier-gui\nativefier-gui\nativefier-gui-win32-x64 - name: Upload Windows arm64 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-arm64 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-arm64 + path: D:\a\nativefier-gui\nativefier-gui\nativefier-gui-win32-arm64 - name: Upload Windows ia32 Build uses: actions/upload-artifact@v2 with: name: nativefier-gui-win32-ia32 - path: /home/runner/work/nativefier-gui/nativefier-gui/nativefier-gui-win32-ia32 + path: D:\a\nativefier-gui\nativefier-gui\nativefier-gui-win32-ia32 release-linux: # The type of runner that the job will run on runs-on: ubuntu-latest