1
0
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:
NayamAmarshe 2022-09-29 21:09:09 +05:30 committed by GitHub
parent ac51ad1a67
commit b64c51808f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

48
.github/workflows/main.yml vendored Normal file
View 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