File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 description : ' Tag version (e.g., v1.0.0 or leave empty to use git tag)'
1111 required : false
1212 default : ' '
13+ xcode_version :
14+ description : ' Xcode version (e.g., latest-stable, 20.1)'
15+ required : false
16+ default : ' latest-stable'
1317
1418jobs :
1519 release :
4650 echo "tag_version=${TAG_VERSION}" >> $GITHUB_OUTPUT
4751 echo "Tag version: ${TAG_VERSION}"
4852
53+ - name : Determine Xcode version
54+ id : xcode
55+ shell : bash
56+ run : |
57+ if [[ "${{ github.event_name }}" == "workflow_dispatch" && -n "${{ github.event.inputs.xcode_version }}" ]]; then
58+ XCODE_VERSION="${{ github.event.inputs.xcode_version }}"
59+ else
60+ XCODE_VERSION="latest-stable"
61+ fi
62+ echo "xcode_version=${XCODE_VERSION}" >> $GITHUB_OUTPUT
63+ echo "Xcode version: ${XCODE_VERSION}"
64+
4965 - name : Checkout repository
5066 uses : actions/checkout@v4
5167 with :
5672 - name : Select Xcode version
5773 uses : maxim-lobanov/setup-xcode@v1
5874 with :
59- xcode-version : 26.2-beta
75+ xcode-version : ${{ steps.xcode.outputs.xcode_version }}
6076
6177 - name : Build VolumeGrid
6278 shell : bash
You can’t perform that action at this time.
0 commit comments