Skip to content

Removes COE Console (Pull Request #225) #81

Removes COE Console (Pull Request #225)

Removes COE Console (Pull Request #225) #81

Workflow file for this run

name: Build Snapshot
on:
push:
branches:
- 'development'
- 'snapshot/**'
jobs:
package:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Get package version
uses: actions/github-script@v6
id: version
with:
script: |
return JSON.parse(require('fs').readFileSync('package.json')).version;
result-encoding: string
- name: Install Dependencies
run: npm install
- name: Install Gulp on Mac
run: npm install -g gulp
if: startsWith(matrix.os, 'mac')
- name: Build
run: gulp prep-pkg
- name: Package Win/Linux
run: npm run dist
if: startsWith(matrix.os, 'win') || startsWith(matrix.os, 'ubuntu')
- name: Package Mac
run: PYTHON_PATH=$(which python) npm run dist
if: startsWith(matrix.os, 'mac')
- name: Upload Linux Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application-${{ steps.version.outputs.result }}.AppImage
name: INTO-CPS-Application-SNAPSHOT-v${{ steps.version.outputs.result }}.${{ github.run_number }}-linux_x64.AppImage
if: startsWith(matrix.os, 'ubuntu')
- name: Upload Windows Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application Setup ${{ steps.version.outputs.result }}.exe
name: INTO-CPS-Application-SNAPSHOT-v${{ steps.version.outputs.result }}.${{ github.run_number }}-win_x86-Setup.exe
if: startsWith(matrix.os, 'windows')
- name: Upload Portable Windows Version
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application ${{ steps.version.outputs.result }}.exe
name: INTO-CPS-Application-SNAPSHOT-v${{ steps.version.outputs.result }}.${{ github.run_number }}-win_x86-Portable.exe
if: startsWith(matrix.os, 'windows')
- name: Upload Dmg
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application-${{ steps.version.outputs.result }}.dmg
name: INTO-CPS-Application-SNAPSHOT-v${{ steps.version.outputs.result }}.${{ github.run_number }}-darwin_x64.dmg
if: startsWith(matrix.os, 'mac')
- name: Upload Darwin Zip
uses: actions/upload-artifact@v2
with:
path: ./release/INTO-CPS-Application-${{ steps.version.outputs.result }}-mac.zip
name: INTO-CPS-Application-SNAPSHOT-v${{ steps.version.outputs.result }}.${{ github.run_number }}-darwin_x64.zip
if: startsWith(matrix.os, 'mac')