Skip to content

Console.log and coe.log refactory + bug fix for empty console.log on INTO-CPS restart + error cases #82

Console.log and coe.log refactory + bug fix for empty console.log on INTO-CPS restart + error cases

Console.log and coe.log refactory + bug fix for empty console.log on INTO-CPS restart + error cases #82

Workflow file for this run

name: Build Snapshot
on:
push:
branches:
- 'development'
- 'snapshot/**'
jobs:
package:
runs-on: ${{ matrix.os }}
strategy:

Check failure on line 13 in .github/workflows/snapshots.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/snapshots.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [x64]
include:
- os: macos-latest
arch: arm64
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')