1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-10 12:16:34 +03:00

build fixes

This commit is contained in:
Eugene Pankov 2020-12-24 16:16:13 +01:00
parent 9fddfa6fc2
commit 987b89b914
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
4 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ jobs:
- name: Installing Node - name: Installing Node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 10 node-version: 15
- name: Install deps - name: Install deps
run: | run: |

View File

@ -11,7 +11,7 @@ jobs:
- name: Install Node - name: Install Node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 10 node-version: 15
- name: Install deps - name: Install deps
run: | run: |

View File

@ -30,7 +30,7 @@ jobs:
- name: Build native deps - name: Build native deps
run: scripts/build-native.js run: scripts/build-native.js
env: env:
ARCH: ${{arch}} ARCH: ${{matrix.arch}}
- name: Webpack - name: Webpack
run: yarn run build run: yarn run build
@ -38,7 +38,7 @@ jobs:
- name: Prepackage plugins - name: Prepackage plugins
run: scripts/prepackage-plugins.js run: scripts/prepackage-plugins.js
env: env:
ARCH: ${{arch}} ARCH: ${{matrix.arch}}
- run: sed -i '' 's/updateInfo = await/\/\/updateInfo = await/g' node_modules/app-builder-lib/out/targets/ArchiveTarget.js - run: sed -i '' 's/updateInfo = await/\/\/updateInfo = await/g' node_modules/app-builder-lib/out/targets/ArchiveTarget.js
@ -46,7 +46,7 @@ jobs:
run: scripts/build-macos.js run: scripts/build-macos.js
if: github.repository == 'Eugeny/terminus' && github.event_name == 'push' if: github.repository == 'Eugeny/terminus' && github.event_name == 'push'
env: env:
ARCH: ${{arch}} ARCH: ${{matrix.arch}}
GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_TOKEN: ${{ secrets.GH_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }} CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
@ -58,7 +58,7 @@ jobs:
run: scripts/build-macos.js run: scripts/build-macos.js
if: github.repository != 'Eugeny/terminus' || github.event_name != 'push' if: github.repository != 'Eugeny/terminus' || github.event_name != 'push'
env: env:
ARCH: ${{arch}} ARCH: ${{matrix.arch}}
# DEBUG: electron-builder,electron-builder:* # DEBUG: electron-builder,electron-builder:*
- name: Package artifacts - name: Package artifacts
@ -71,11 +71,11 @@ jobs:
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
name: Upload PKG name: Upload PKG
with: with:
name: macOS .pkg (${{arch}}) name: macOS .pkg (${{matrix.arch}})
path: artifact-pkg path: artifact-pkg
- uses: actions/upload-artifact@master - uses: actions/upload-artifact@master
name: Upload ZIP name: Upload ZIP
with: with:
name: macOS .zip (${{arch}}) name: macOS .zip (${{matrix.arch}})
path: artifact-zip path: artifact-zip

View File

@ -11,7 +11,7 @@ jobs:
- name: Installing Node - name: Installing Node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 10 node-version: 15
- name: Build - name: Build
shell: powershell shell: powershell