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:
Johannes Millan 2026-02-05 15:58:51 +01:00
parent d75cc00da8
commit 51daf67577
2 changed files with 6 additions and 9 deletions

View file

@ -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:

View file

@ -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