Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (37 sloc) 869 Bytes
name: Build sbe binaries
on:
push:
branches:
- "!*"
tags:
- "v*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- name: setup nodejs
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: install dependencies
run: npm install
- name: package
run: npm run dist
- name: release for macOS
if: matrix.os == 'macos-latest'
uses: softprops/action-gh-release@v1
with:
files: "dist/*.dmg"
env:
GITHUB_TOKEN: ${{ secrets.RL_TOKEN }}
- name: release for Windows
if: matrix.os == 'windows-latest'
uses: softprops/action-gh-release@v1
with:
files: "dist/*.exe"
env:
GITHUB_TOKEN: ${{ secrets.RL_TOKEN }}
You can’t perform that action at this time.