mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Update build-apple.yml
This commit is contained in:
19
.github/workflows/build-apple.yml
vendored
19
.github/workflows/build-apple.yml
vendored
@@ -1,10 +1,18 @@
|
||||
name: Build Apple
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
ref:
|
||||
required: true
|
||||
type: string
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ref:
|
||||
description: "Branch, tag, or commit to build"
|
||||
required: true
|
||||
default: main
|
||||
|
||||
jobs:
|
||||
build_ios:
|
||||
name: iOS
|
||||
@@ -13,7 +21,7 @@ jobs:
|
||||
- name: Checkout application
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
ref: ${{ inputs.ref || github.event.inputs.ref || 'main' }}
|
||||
|
||||
# This seems to be related to https://github.com/actions/runner-images/issues/12758
|
||||
# Select appropriate Xcode version from
|
||||
@@ -43,14 +51,11 @@ jobs:
|
||||
- name: Checkout application
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
ref: ${{ inputs.ref || github.event.inputs.ref || 'main' }}
|
||||
|
||||
- name: Common flutter setup
|
||||
uses: ./.github/actions/flutter-common
|
||||
|
||||
# This seems to be related to https://github.com/actions/runner-images/issues/12758
|
||||
# Select appropriate Xcode version from
|
||||
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md#xcode
|
||||
- name: Xcode setup
|
||||
run: |
|
||||
sudo xcode-select --switch /Applications/Xcode_16.4.app
|
||||
@@ -73,7 +78,7 @@ jobs:
|
||||
- name: Checkout application
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ inputs.ref }}
|
||||
ref: ${{ inputs.ref || github.event.inputs.ref || 'main' }}
|
||||
|
||||
- name: Common flutter setup
|
||||
uses: ./.github/actions/flutter-common
|
||||
@@ -87,4 +92,4 @@ jobs:
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: builds-macos
|
||||
path: build/macos/Build/Products/Release/wger.app.zip
|
||||
path: build/macos/Build/Products/Release/wger.app.zip
|
||||
|
||||
Reference in New Issue
Block a user