File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,21 +44,21 @@ jobs:
4444 COMMIT_FILES=$(git diff --diff-filter d --name-only $BASE_COMMIT)
4545 if [ -z "$COMMIT_FILES" ]; then
4646 echo "No files to check" >&2
47- echo ::set-output name= clean:: true
47+ echo clean= true >> "$GITHUB_OUTPUT"
4848 exit 0
4949 fi
5050 perl -p -i -e "${{ env.REFACTORING }}" $COMMIT_FILES
5151
5252 if git diff --exit-code; then
5353 echo "Refactoring not needed."
5454 git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git :alibot-refactoring-${{ github.event.pull_request.number }} -f || true
55- echo ::set-output name= clean:: true
55+ echo clean= true >> "$GITHUB_OUTPUT"
5656 else
5757 git commit -m "${{ env.RATIONALE }}" -a
5858 git show | cat
5959 git fetch https://github.com/AliceO2Group/AliceO2.git pull/${{ github.event.pull_request.number }}/head
6060 git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git HEAD:refs/heads/alibot-refactoring-${{ github.event.pull_request.number }} -f
61- echo ::set-output name= clean:: false
61+ echo clean= false >> "$GITHUB_OUTPUT"
6262 fi
6363
6464 - name : pull-request
Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Decide which branch to use
1616 run : |
17- cat << EOF
18- ::set-output name= branch:: $(echo ${{ github.event.inputs.tag }}-patches | tr . - | sed -e's/-[0-9]*-patches$/-patches/')
17+ cat << EOF >> "$GITHUB_OUTPUT"
18+ branch= $(echo ${{ github.event.inputs.tag }}-patches | tr . - | sed -e's/-[0-9]*-patches$/-patches/')
1919 EOF
2020 id : decide_release_branch
2121 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments