Skip to content

Commit dc8540a

Browse files
authored
Fix gradle workflow (#9716)
1 parent ae6fb93 commit dc8540a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-gradle-dependencies.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Pick a branch name
4848
if: steps.check-changes.outputs.commit_changes == 'true'
4949
id: define-branch
50-
run: echo "BRANCH_NAME=ci/update-gradle-dependencies-$(date +'%Y%m%d')" >> $GITHUB_ENV
50+
run: echo "branch=ci/update-gradle-dependencies-$(date +'%Y%m%d')" >> $GITHUB_OUTPUT
5151
- name: Commit changes
5252
if: steps.check-changes.outputs.commit_changes == 'true'
5353
id: create-commit
@@ -76,7 +76,7 @@ jobs:
7676
echo -e "This PR updates the Gradle dependencies. ⚠️ Don't forget to squash commits before merging. ⚠️\n\n- [ ] Update PR title if a code change is needed to support one of those new dependencies" | \
7777
gh pr create --title "Update Gradle dependencies" \
7878
--base master \
79-
--head $BRANCH_NAME \
79+
--head ${{ steps.define-branch.outputs.branch }} \
8080
--label "tag: dependencies" \
8181
--label "tag: no release notes" \
8282
--body-file -

0 commit comments

Comments
 (0)