Skip to content

Commit

Permalink
ci: fix error when running manual workflow (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEidinger committed Jan 6, 2025
1 parent 65ad08c commit 7344709
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
frameworkVersion:
description: 'Framework Version'
required: true
default: '9.2.7'
default: '24.12.0'
iOSVersion:
description: 'iOS Version'
required: true
default: '15.0'
default: '17.0'

jobs:
verify-podspec-install:
Expand All @@ -38,7 +38,7 @@ jobs:
id: frameworkVersion
if: github.event_name != 'workflow_dispatch'
run: |
relevantVersion=9.0.1 # safeguard in case no podspec file(s) were changed
relevantVersion=24.12.0 # safeguard in case no podspec file(s) were changed
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
lastVersion=`echo ${file} | cut -d / -f 2`
[[ $lastVersion == [0-9]* ]] && relevantVersion=$lastVersion
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
run: sudo xcode-select -p
- name: Determine Xcode version based on iOS version
run: |
if [[ -z "${{ env.iOSVersion }}" ]]; then
if [ -z "${{ env.iOSVersion }}" ]; then
echo "iOSVersion is not set. Using latest Xcode version."
neededXcode='Xcode_16.1'
elif [[ ${{ env.iOSVersion }} == '17.0' ]]; then
Expand Down

0 comments on commit 7344709

Please sign in to comment.