Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Sep 16, 2023
1 parent adaa6a6 commit 73584ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ jobs:
- name: Extract branch name
if: success()
id: extract_branch
run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
run: |
if [$GITHUB_EVENT_NAME == 'pull_request']; then
echo "value=${GITHUB_BASE_REF:11}" >> $GITHUB_OUTPUT
else
echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: Build Documentation
uses: gradle/gradle-build-action@v2
with:
Expand Down

0 comments on commit 73584ff

Please sign in to comment.