Skip to content

Commit

Permalink
Fix ios github action to work with multiple versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4handjr committed Aug 6, 2024
1 parent 23ca791 commit 1fa444d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ios_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
type: string
firefox-version:
description: 'The Firefox Version you want to test'
default: "123"
default: "['123']"
required: false
type: string
feature-name:
Expand All @@ -35,13 +35,16 @@ on:
jobs:
iOS-klaatu-tests:
runs-on: macos-14
name: ${{ inputs.feature-name }} tests for ${{ inputs.slug }} on firefox iOS v${{ inputs.firefox-version }}
strategy:
matrix:
firefox: ${{ fromJSON(inputs.firefox-version) }}
name: ${{ inputs.feature-name }} tests for ${{ inputs.slug }} on firefox iOS v${{ matrix.firefox }}
steps:
- name: Clone firefox-ios repo
uses: actions/checkout@v4
with:
repository: mozilla-mobile/firefox-ios
ref: "release/v${{ inputs.firefox-version }}"
ref: "release/v${{ matrix.firefox }}"
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand All @@ -50,7 +53,7 @@ jobs:
uses: actions/[email protected]
with:
path: /Users/runner/Library/Developer/Xcode/DerivedData/**/
key: xcode-firefox-v${{ inputs.firefox-version }}-cache
key: xcode-firefox-v${{ matrix.firefox }}-cache
- name: Delete Xcode App
run: sudo rm -rf /Applications/Xcode.app
- name: Set Xcode version
Expand Down

0 comments on commit 1fa444d

Please sign in to comment.