File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 required : false
1212 type : string
1313 description : The iOS SDK version to update to
14+ version_bump :
15+ type : choice
16+ default : patch
17+ description : Version bump type for wrapper SDKs
18+ options :
19+ - patch
20+ - minor
1421 cordova :
1522 type : boolean
1623 default : true
5865 required : false
5966 default : true
6067 description : Update Unity SDK
68+ version_bump :
69+ type : string
70+ required : false
71+ default : patch
72+ description : Version bump type for wrapper SDKs (patch or minor)
6173 secrets :
6274 GH_PUSH_TOKEN :
6375 required : false
@@ -122,7 +134,7 @@ jobs:
122134
123135 # Get latest stable version (exclude pre-releases)
124136 LATEST_VERSION=$(gh release list --repo "$REPO" --limit 20 --json tagName,isPrerelease | jq -r '.[] | select(.isPrerelease == false) | .tagName' | head -1 || echo "")
125- NEW_VERSION=$(semver "$LATEST_VERSION" -i patch)
137+ NEW_VERSION=$(semver "$LATEST_VERSION" -i "${{ inputs.version_bump || ' patch' }}" )
126138 echo "$SDK=$NEW_VERSION" >> $GITHUB_OUTPUT
127139 done
128140 env :
Original file line number Diff line number Diff line change 4747 bun run build
4848
4949 # Can't use Bun yet for publishing to NPM via OIDC, so we use Node.js
50- - name : Setup Node.js
51- uses : actions/setup-node@v5
52- with :
53- node-version : " 24"
54- registry-url : " https://registry.npmjs.org"
55-
5650 # for publishing
5751 - name : Setup Node
5852 uses : actions/setup-node@v6
You can’t perform that action at this time.
0 commit comments