We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce85d69 commit 8e5f3a4Copy full SHA for 8e5f3a4
.github/actions/generate-version-code/action.yml
@@ -101,9 +101,12 @@ runs:
101
- name: Compute VERSIONCODE
102
id: compute
103
shell: bash
104
- env:
105
- LATEST_VERSIONCODE: ${{ steps.compute-versioncode-ios.outputs.LATEST_VERSIONCODE }} || ${{ steps.compute-versioncode-android.outputs.LATEST_VERSIONCODE }}
106
run: |
+ VERSION_IOS="${{ steps.compute-versioncode-ios.outputs.LATEST_VERSIONCODE }}"
+ VERSION_ANDROID="${{ steps.compute-versioncode-android.outputs.LATEST_VERSIONCODE }}"
107
+
108
+ LATEST_VERSIONCODE="${VERSION_IOS:-$VERSION_ANDROID}"
109
110
VERSIONCODE=$((LATEST_VERSIONCODE + 1))
111
echo "VERSIONCODE=$VERSIONCODE" >> $GITHUB_OUTPUT
112
0 commit comments