We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe3a1cc + 6bf4b92 commit ac93a7aCopy full SHA for ac93a7a
1 file changed
.github/workflows/test_and_release.yml
@@ -13,9 +13,9 @@ jobs:
13
run: |
14
git fetch origin main &&
15
MAIN=`git rev-parse origin/main` &&
16
- echo "::set-output name=head_of_main::$MAIN" &&
+ echo "head_of_main=$MAIN" >> $GITHUB_OUTPUT &&
17
CURRENT=`git rev-list -n 1 ${{ github.ref }} || echo "NOT_MAIN"` &&
18
- echo "::set-output name=current_job_ref::$CURRENT"
+ echo "current_job_ref=$CURRENT" >> $GITHUB_OUTPUT
19
- name: Set up JDK
20
if: steps.check_head_of_main.outputs.head_of_main == steps.check_head_of_main.outputs.current_job_ref
21
uses: actions/setup-java@v4
0 commit comments