Skip to content

Commit 6bf4b92

Browse files
committed
1 parent 14ebe5b commit 6bf4b92

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test_and_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
run: |
1414
git fetch origin main &&
1515
MAIN=`git rev-parse origin/main` &&
16-
echo "::set-output name=head_of_main::$MAIN" &&
16+
echo "head_of_main=$MAIN" >> $GITHUB_OUTPUT &&
1717
CURRENT=`git rev-list -n 1 ${{ github.ref }} || echo "NOT_MAIN"` &&
18-
echo "::set-output name=current_job_ref::$CURRENT"
18+
echo "current_job_ref=$CURRENT" >> $GITHUB_OUTPUT
1919
- name: Set up JDK
2020
if: steps.check_head_of_main.outputs.head_of_main == steps.check_head_of_main.outputs.current_job_ref
2121
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)