Merge pull request #117 from swordensen/development #40
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: Build/release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: checkout v2 | |
uses: actions/checkout@v2 | |
- name: Install Node.js, NPM | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20" | |
- name: Install rpm if necessary | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt install rpm | |
- name: Install packages | |
working-directory: ./app | |
run: npm install | |
- name: Install Renderer Packages | |
working-directory: ./app/src/renderer | |
run: npm install | |
- name: Publish Build to Github | |
working-directory: ./app | |
run: npm run publish | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |