mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-28 01:10:52 +01:00
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
# name of your github action
|
|
name: Deploy Release
|
|
# 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-20.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-11
|
|
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
|