mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-12 01:40:53 +01:00
Create main.yml
This commit is contained in:
parent
ac51ad1a67
commit
b64c51808f
48
.github/workflows/main.yml
vendored
Normal file
48
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# name of your github action
|
||||
name: CI
|
||||
# this will help you specify where to run
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# this is where the magic happens, each job happens in parallel btw
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
ref: electron
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Install Modules and Publish build
|
||||
run: |
|
||||
npm install
|
||||
npm run publish-linux-app
|
||||
|
||||
macos:
|
||||
runs-on: macOS-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
ref: electron
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Install Modules and Publish build
|
||||
run: |
|
||||
npm install
|
||||
npm run publish-mac-app
|
||||
|
||||
windo:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
ref: electron
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Install Modules and Publish build
|
||||
run: |
|
||||
npm install
|
||||
npm run publish-win-app
|
Loading…
Reference in New Issue
Block a user