1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-18 18:35:58 +01:00
upscayl/.github/workflows/main.yml
2022-12-23 02:55:15 +05:30

53 lines
1.2 KiB
YAML

# 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-18.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.5.0
with:
node-version: 16
- name: Install Modules and Publish build
run: |
sudo apt-get install elfutils -y
sudo apt install rpm
npm install
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run publish-linux-app
macos:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.5.0
with:
node-version: 16
- name: Install Modules and Publish build
run: |
npm install
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run publish-mac-app
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.5.0
with:
node-version: 16
- name: Install Modules and Publish build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run publish-win-app