Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Update main.yml

NayamAmarshebb26ddd509bb
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 426752d..00fbcf4 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -3,6 +3,9 @@ name: Deploy Release
# this will help you specify where to run
on:
workflow_dispatch:
+ push:
+ tags:
+ - v*
# this is where the magic happens, each job happens in parallel btw
jobs:
linux:
@@ -27,20 +30,24 @@ jobs:
macos:
runs-on: macos-11
+ env:
+ CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
+ CSC_LINK: ${{ secrets.CSC_LINK }}
+ APPLEID: ${{ secrets.APPLEID }}
+ APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
-
- uses: actions/[email protected]
with:
node-version: 16
-
- name: Install Modules and Publish build
run: |
npm install
rm -rf node_modules/sharp
npm install --platform=darwin --arch=x64 sharp
npm rebuild --platform=darwin --arch=arm64 sharp
- GH_TOKEN=${{ secrets.GITHUB_TOKEN }} npm run publish-mac-app
+ npm run publish-mac-app
windows:
runs-on: windows-latest