We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4347235 commit 8e67e16Copy full SHA for 8e67e16
1 file changed
.github/workflows/create-wrapper-prs.yml
@@ -1,7 +1,7 @@
1
name: Create Wrapper PRs
2
3
on:
4
- workflow_dispatch: # TODO: For testing, remove me before merging
+ workflow_dispatch: # For testing, try to avoid using this
5
inputs:
6
android_version:
7
required: false
@@ -39,6 +39,23 @@ jobs:
39
fi
40
echo "✓ Input validation passed"
41
42
+ - name: Skip pre-release versions
43
+ run: |
44
+ ANDROID="${{ inputs.android_version }}"
45
+ IOS="${{ inputs.ios_version }}"
46
+
47
+ if [[ "$ANDROID" =~ (alpha|beta) ]]; then
48
+ echo "⏭️ Skipping: Android version '$ANDROID' is a pre-release"
49
+ exit 1
50
+ fi
51
52
+ if [[ "$IOS" =~ (alpha|beta) ]]; then
53
+ echo "⏭️ Skipping: iOS version '$IOS' is a pre-release"
54
55
56
57
+ echo "✓ No pre-release versions detected"
58
59
versions:
60
needs: validate-inputs
61
runs-on: ubuntu-latest
0 commit comments