diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 52874cd..9fc7ead 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: branches: - master pull_request: + workflow_dispatch: schedule: - cron: 0 0 * * * @@ -18,10 +19,10 @@ jobs: - name: setup-xamarin uses: ./ with: - mono-version: 6.6 - xamarin-ios-version: 14.0 - xamarin-mac-version: 6.6 - xamarin-android-version: 10.1 + mono-version: '6.6' + xamarin-ios-version: '14.0' + xamarin-mac-version: '6.6' + xamarin-android-version: '10.1' - name: Validate versions run: pwsh ./__tests__/validate-xamarin-versions.ps1 "6.6" "14.0" "6.6" "10.1" @@ -67,10 +68,10 @@ jobs: - name: setup-xamarin uses: ./ with: - xcode-version: 11.4 + xcode-version: 12.3 - name: Validate versions - run: pwsh ./__tests__/validate-xcode-version.ps1 -XcodeVersion "11.4" + run: pwsh ./__tests__/validate-xcode-version.ps1 -XcodeVersion "12.3" xcode-wildcard-version: name: xcode - wildcard version diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4b4bbb3..7ce3f21 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -4,6 +4,7 @@ on: branches: - master pull_request: + workflow_dispatch: schedule: - cron: 0 0 * * * diff --git a/README.md b/README.md index d4801e0..b60d0b9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This action is intended to switch between pre-installed versions of Xamarin and - `mono-version`, `xamarin-ios-version`, `xamarin-mac-version`, `xamarin-android-version` parameters support the following format: `latest`, `13`, `13.2`, `13.2.1.4` - `xcode-version` parameter supports the following format: `latest`, `11.4`, `11.x`, `11.2.1` +**Note:** If you need to switch Xcode only without Xamarin - please consider using [maxim-lobanov/setup-xcode](https://github.com/maxim-lobanov/setup-xcode) actions since it provides more comfortable way to specify Xcode. # Usage ``` @@ -25,11 +26,11 @@ jobs: - name: setup-xamarin uses: maxim-lobanov/setup-xamarin@v1 with: - mono-version: 6.6 # specify version in '.' format - xamarin-ios-version: 13 # specify version in '' format + mono-version: '6.6' # specify version in '.' format + xamarin-ios-version: '13' # specify version in '' format xamarin-mac-version: latest # specify 'latest' keyword to pick up the latest available version - xamarin-android-version: 10.1.3.7 # specify full version; it is not recomended option because your pipeline can be broken suddenly in future - xcode-version: 11.x # set the latest available Xcode 11 + xamarin-android-version: '10.1.3.7' # specify full version; it is not recomended option because your pipeline can be broken suddenly in future + xcode-version: '11.x' # set the latest available Xcode 11 ``` # License