Skip to content

turn off windows codesigning for now in workflow #80

turn off windows codesigning for now in workflow

turn off windows codesigning for now in workflow #80

Workflow file for this run

# Build Linux
name: linux
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
on:
push:
pull_request:
#release:
# types: [created]
#types: [published] # publish a draft release to set github.event_name = 'release'
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks executed as part of the job
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Setup prerequisites
if: runner.os == 'Linux'
run: |
echo "event name: ${{ github.event_name }}"
sudo apt update
sudo apt install pkg-config libudev-dev libusb-1.0-0-dev
- name: Install Node.js and NPM
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: Build
run: |
npm install
npm run pack
npm run dist:draft
- name: Publish
continue-on-error: true
if: "contains(github.event.head_commit.message, '[publish]')"
#if: (github.event_name == 'release' && github.event.action == 'created')
#if: (github.event_name == 'release') # or values = 'push' or 'pull_request'
run: |
npm run dist
- name: Check files
run: ls -alR --ignore=\.git --ignore=node_modules
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: Blink1Control2-${{ runner.os }}
path: |
dist/Blink1Control2*zip
dist/Blink1Control2*dmg
dist/Blink1Control2*deb
dist/Blink1Control2*tar.gz
dist/Blink1Control2*AppImage
dist/Blink1Control2*exe
dist/Blink1Control2*blockmap
dist/latest*yml