1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-19 02:45:54 +01:00
upscayl/.github/workflows/main.yml

53 lines
1.2 KiB
YAML
Raw Normal View History

2022-09-29 17:39:09 +02:00
# name of your github action
name: CI
2022-12-22 13:10:23 +01:00
# this will help you specify where to run
2022-09-29 17:39:09 +02:00
on:
workflow_dispatch:
# this is where the magic happens, each job happens in parallel btw
jobs:
linux:
2022-12-22 13:10:23 +01:00
runs-on: ubuntu-18.04
2022-09-29 17:39:09 +02:00
steps:
2022-12-22 13:10:23 +01:00
- 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
2022-12-22 22:25:15 +01:00
sudo apt install rpm
2022-12-22 13:10:23 +01:00
npm install
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run publish-linux-app
2022-09-29 17:39:09 +02:00
macos:
2022-12-22 13:10:23 +01:00
runs-on: macos-10.15
steps:
2022-09-29 17:42:45 +02:00
- uses: actions/checkout@v3
2022-12-22 13:10:23 +01:00
2022-09-29 17:42:45 +02:00
- uses: actions/setup-node@v3.5.0
2022-09-29 17:39:09 +02:00
with:
node-version: 16
2022-12-22 13:10:23 +01:00
2022-09-29 17:39:09 +02:00
- name: Install Modules and Publish build
run: |
npm install
2022-09-30 12:30:23 +02:00
GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run publish-mac-app
2022-12-22 13:10:23 +01:00
2022-09-30 12:30:23 +02:00
windows:
2022-12-22 13:10:23 +01:00
runs-on: windows-latest
steps:
2022-09-29 17:42:45 +02:00
- uses: actions/checkout@v3
2022-12-22 13:10:23 +01:00
2022-09-29 17:42:45 +02:00
- uses: actions/setup-node@v3.5.0
2022-09-29 17:39:09 +02:00
with:
node-version: 16
2022-12-22 13:10:23 +01:00
2022-09-29 17:39:09 +02:00
- name: Install Modules and Publish build
2022-09-30 12:30:23 +02:00
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-09-29 17:39:09 +02:00
run: |
npm install
2022-09-30 12:30:23 +02:00
npm run publish-win-app