0.1.3 #4
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: Generate Binaries | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
name: Generate binaries for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
DEBUG: 'electron-forge:*' | |
steps: | |
- if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sudo apt-get install -y rpm | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
- run: npm ci | |
- run: npm run package | |
- run: npm run make | |
- uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: out/make/**/* | |
file_glob: true | |
overwrite: true |