Merge pull request #655 from esprfid/rdm6300-mj #187
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tools build for Linux | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install pkg | |
run: npm i -g pkg | |
- name: Generate webfilesbuilder binaries | |
run: | | |
cd tools/webfilesbuilder | |
npm install | |
pkg -t node16-linux -C GZip . | |
- name: Generate wsemulator binaries | |
run: | | |
cd tools/wsemulator | |
npm install | |
pkg -t node16-linux -C GZip . | |
- name: Export Linux binary | |
uses: actions/upload-artifact@v4 | |
with: | |
name: bins | |
path: | | |
tools/webfilesbuilder/webfilesbuilder | |
tools/wsemulator/wsemulator |