Skip to content

Commit 5c4cced

Browse files
authored
Update gradle-release.yml
strip `/ref/tags/` from `$GITHUB_REF` temporary remove the master check
1 parent 7f9ff79 commit 5c4cced

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/gradle-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
uses: actions/setup-java@v1
1414
with:
1515
java-version: 1.8
16-
- name: Verify CI check status
17-
run: .github/workflows/scripts/check_ci_status.sh $GITHUB_SHA
1816
- name: Release with Gradle
19-
run: ./gradlew -Pversion=$GITHUB_REF release --scan --no-daemon -i
17+
run: ./gradlew -Pversion=${GITHUB_REF##*/} release --scan --no-daemon -i
2018
env:
2119
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
2220
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}

0 commit comments

Comments
 (0)