Skip to content

update pkg version

update pkg version #85

Workflow file for this run

name: Build Test App
on:
push:
branches: [ main, develop ]
paths-ignore:
- 'README.md'
- 'CHANGE.md'
- 'doc/*'
- '.github/*'
jobs:
build-windows-x64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Npm Install
run: |
git config --global url."https://github.com".insteadOf ssh://[email protected]
npm ci
- name: Build Dist
env:
GA_ID: ${{ secrets.GA_ID }}
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=4096
run: npm run dist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: OpenBlock-Desktop-win-x64
path: dist/OpenBlock-Desktop*.exe
retention-days: 1
build-windows-ia32:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Npm Install
run: |
git config --global url."https://github.com".insteadOf ssh://[email protected]
npm ci
- name: Build Dist
env:
GA_ID: ${{ secrets.GA_ID }}
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=4096
ARCH: ia32
run: npm run dist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: OpenBlock-Desktop-win-ia32
path: dist/OpenBlock-Desktop*.exe
retention-days: 1
build-mac:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Install python2.7
run: |
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18
- name: Npm Install
run: |
pip install setuptools
npm ci
- name: Build Dist
env:
GA_ID: ${{ secrets.GA_ID }}
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=8192
CSC_IDENTITY_AUTO_DISCOVERY: false
run: |
export PYTHON_PATH=$(pyenv root)/shims/python
npm run dist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: OpenBlock-Desktop-mac-x64
path: dist/OpenBlock-Desktop*.dmg
retention-days: 1
build-linux-amd64:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Npm Install
run: npm ci
- name: Build Dist
env:
GA_ID: ${{ secrets.GA_ID }}
NODE_ENV: production
NODE_OPTIONS: --max_old_space_size=8192
CSC_IDENTITY_AUTO_DISCOVERY: false
run: npm run dist
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: OpenBlock-Desktop-linux-amd64
path: dist/OpenBlock-Desktop*.deb
retention-days: 1