mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
ci(release): switch macOS and iOS workflows to tag-based triggers
Change both Apple store release workflows to trigger on v* tag push instead of GitHub release publication, matching the Microsoft Store workflow pattern. This also removes prerelease checks so builds run for all tags including prereleases.
This commit is contained in:
parent
d75cc00da8
commit
51daf67577
2 changed files with 6 additions and 9 deletions
8
.github/workflows/build-ios.yml
vendored
8
.github/workflows/build-ios.yml
vendored
|
|
@ -1,7 +1,8 @@
|
|||
name: iOS App Store Release on Release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
workflow_dispatch:
|
||||
inputs: {}
|
||||
|
||||
|
|
@ -12,9 +13,6 @@ jobs:
|
|||
UNSPLASH_KEY: ${{ secrets.UNSPLASH_KEY }}
|
||||
UNSPLASH_CLIENT_ID: ${{ secrets.UNSPLASH_CLIENT_ID }}
|
||||
|
||||
# TODO: Re-enable pre-release skip once workflow is tested
|
||||
# if: '!github.event.release.prerelease'
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
name: Mac Store Release on Release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
workflow_dispatch:
|
||||
inputs: {}
|
||||
|
||||
|
|
@ -12,8 +13,6 @@ jobs:
|
|||
UNSPLASH_KEY: ${{ secrets.UNSPLASH_KEY }}
|
||||
UNSPLASH_CLIENT_ID: ${{ secrets.UNSPLASH_CLIENT_ID }}
|
||||
|
||||
if: '!github.event.release.prerelease'
|
||||
|
||||
steps:
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue