fc289262a8
Rename workflow since slash character is not supported by shields.io.
35 lines
660 B
YAML
35 lines
660 B
YAML
name: Build
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
|
|
- name: Install Dependencies
|
|
run: npm ci
|
|
shell: bash
|
|
|
|
- name: Build
|
|
env:
|
|
GH_TOKEN: ${{ secrets.github_token }}
|
|
run: npm run dist
|
|
shell: bash |