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 8ed2cfa commit 7336e4aCopy full SHA for 7336e4a
.github/workflows/gradle-release.yml
@@ -14,7 +14,7 @@ jobs:
14
with:
15
java-version: 1.8
16
- name: Verify CI check status
17
- run: "[ $(curl -s https://api.github.com/repos/testcontainers/testcontainers-java/commits/$GITHUB_SHA/status | jq -r '.state') == 'success' ]"
+ run: .github/workflows/scripts/check_ci_status.sh
18
- name: Release with Gradle
19
run: ./gradlew -Pversion=$GITHUB_REF release --scan --no-daemon -i
20
env:
.github/workflows/scripts/check_ci_status.sh
@@ -0,0 +1,3 @@
1
+#/bin/bash
2
+
3
+[ $(curl -s https://api.github.com/repos/testcontainers/testcontainers-java/commits/$1/status | jq -r '.state') == 'success' ]
0 commit comments