mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-01-22 09:06:36 +00:00
fix(ci): Run release version bump before mobile build (#1542)
* fix(ci): Run release version bump before mobile build * feat(ci): Add ref input to build-mobile * feat(ci): Pass new tag ref to build_mobile flow in prepare-release * chore(ci): Naming
This commit is contained in:
14
.github/workflows/build-mobile.yml
vendored
14
.github/workflows/build-mobile.yml
vendored
@@ -3,6 +3,10 @@ name: Build Mobile
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ref:
|
||||
required: false
|
||||
type: string
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
@@ -13,7 +17,17 @@ jobs:
|
||||
runs-on: macos-12
|
||||
|
||||
steps:
|
||||
- name: Determine ref
|
||||
id: get-ref
|
||||
run: |
|
||||
input_ref="${{ inputs.ref }}"
|
||||
github_ref="${{ github.sha }}"
|
||||
ref="${input_ref:-$github_ref}"
|
||||
echo "ref=$ref" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ steps.get-ref.outputs.ref }}
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user