-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
193 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,226 +8,135 @@ on: | |
types: [created] | ||
|
||
jobs: | ||
# linux-build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - uses: samuelmeuli/action-snapcraft@v2 | ||
# - run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | ||
# - run: npm ci | ||
# - run: npm run build-linux | ||
|
||
# windows-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win | ||
|
||
# macos-build: | ||
# runs-on: macos-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-macos | ||
|
||
# publish-npm: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - uses: samuelmeuli/action-snapcraft@v2 | ||
# - run: npm ci | ||
# - run: npm publish | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# macos_universal-build: | ||
# runs-on: macos-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-mac_universal | ||
|
||
# mac_zip-build: | ||
# runs-on: macos-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-mac_zip | ||
|
||
# mac_zip_universal-build: | ||
# runs-on: macos-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-mac_zip_universal | ||
linux-build: | ||
runs-on: ubuntu-latest | ||
env: | ||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- uses: samuelmeuli/action-snapcraft@v2 | ||
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | ||
- run: npm ci | ||
- run: npm run build-linux | ||
|
||
# win_universal-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win_universal | ||
windows-build: | ||
runs-on: windows-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build-win | ||
|
||
# win_nsis-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win_nsis | ||
macos-build: | ||
runs-on: macos-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build-macos | ||
|
||
# win_nsis_universal-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win_nsis_universal | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.npm_token}} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- uses: samuelmeuli/action-snapcraft@v2 | ||
- run: npm ci | ||
- run: npm publish | ||
|
||
# win_squirrel-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win_squirrel | ||
macos_universal-build: | ||
runs-on: macos-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build-mac_universal | ||
|
||
# win_squirrel_universal-build: | ||
# runs-on: windows-latest | ||
# env: | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - run: npm ci | ||
# - run: npm run build-win_squirrel_universal | ||
mac_zip-build: | ||
runs-on: macos-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build-mac_zip | ||
|
||
# linux_apk-build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - uses: samuelmeuli/action-snapcraft@v2 | ||
# - run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | ||
# - run: npm ci | ||
# - run: npm run build-linux_apk | ||
mac_zip_universal-build: | ||
runs-on: macos-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm ci | ||
- run: npm run build-mac_zip_universal | ||
|
||
# linux_apk_universal-build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 22 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - uses: samuelmeuli/action-snapcraft@v2 | ||
# - run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | ||
# - run: npm ci | ||
# - run: npm run build-linux_apk_universal | ||
win_nsis-build: | ||
runs-on: windows-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- uses: bduff9/[email protected] | ||
with: | ||
dot-npmrc: ${{ secrets.DOT_NPMRC }} | ||
- run: npm ci | ||
- run: npm run build-win_nsis | ||
|
||
# linux_flatpak-build: | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
# GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 18 | ||
# registry-url: https://registry.npmjs.org/ | ||
# - uses: samuelmeuli/action-snapcraft@v2 | ||
# - run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install flatpak flatpak-builder lzip elfutils libarchive-tools wine wine32 -y | ||
# - run: npm ci | ||
# - run: npm run build-linux_flatpak | ||
win_squirrel-build: | ||
runs-on: windows-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- uses: bduff9/[email protected] | ||
with: | ||
dot-npmrc: ${{ secrets.DOT_NPMRC }} | ||
- run: npm ci | ||
- run: npm run build-win_squirrel | ||
|
||
linux_flatpak_universal-build: | ||
linux_apk-build: | ||
runs-on: ubuntu-latest | ||
env: | ||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | ||
|
@@ -236,13 +145,12 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
- uses: bduff9/[email protected] | ||
with: | ||
dot-npmrc: ${{ secrets.DOT_NPMRC }} | ||
- uses: samuelmeuli/action-snapcraft@v2 | ||
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install flatpak flatpak-builder lzip elfutils libarchive-tools wine wine32 -y | ||
- run: npm install --save electron-prebuilt-compile | ||
- run: sudo dpkg --add-architecture i386 && sudo apt-get update -y && sudo apt-get install lzip elfutils libarchive-tools wine wine32 -y | ||
- run: npm ci | ||
- run: npm run build-linux_flatpak | ||
- run: npm run build-linux_apk |
Oops, something went wrong.