File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 2828 export slashes=$(grep -o "/" <<<"$path" | wc -l)
2929 export amount=$((amount + slashes))
3030 fi
31- echo "##[set-output name= amount;]$(echo $ {amount})"
31+ echo "amount=$ {amount}" >> $GITHUB_OUTPUT
3232 shell : bash
3333 id : manage-path-folder
3434
Original file line number Diff line number Diff line change 2020 ).replace("refs/heads/","");
2121 - name : 🪑 Set output
2222 id : branch-name
23- run : echo "::set-output name= branch-name::$(echo $ BRANCH_NAME)"
23+ run : echo "branch-name=$ BRANCH_NAME" >> $GITHUB_OUTPUT
2424 shell : bash
2525 env :
2626 BRANCH_NAME : ${{steps.get-branch-name.outputs.result}}
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ jobs:
3737 OUTPUT=$(./.github/scripts/get-release.sh)
3838 if [[ $OUTPUT == "RELEASE" ]];
3939 then
40- echo "::set-output name= release:: true"
40+ echo "release= true" >> $GITHUB_OUTPUT
4141 elif [[ $OUTPUT == "PRE_RELEASE" ]];
4242 then
43- echo "::set-output name= preRelease:: true"
43+ echo "preRelease= true" >> $GITHUB_OUTPUT
4444 fi
4545 env :
4646 GITHUB_REF : ${{ github.ref }}
5050
5151 - name : ↔ Extract tag name
5252 shell : bash
53- run : echo "##[set-output name= tag;]$(echo $ {GITHUB_REF#refs/tags/})"
53+ run : echo "tag=$ {GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
5454 id : extractTag
5555
5656 - name : 🏷 Get and Set Package Version on Env
6262 run : |
6363 chmod +rx ./.github/scripts/package-version.sh
6464 OUTPUT=$(./.github/scripts/package-version.sh)
65- echo "::set-output name= version:: $OUTPUT"
65+ echo "version= $OUTPUT" >> $GITHUB_OUTPUT
6666
6767 - name : 🌳 Log Valid Version
6868 env :
Original file line number Diff line number Diff line change 4545 run : |
4646 if [[ $RELEASE == "true" || $PRE_RELEASE == "true" ]]
4747 then
48- echo "##[set-output name=name;]$(echo ${GITHUB_REF#refs/tags/})"
48+ echo "name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
49+
4950 else
50- echo "##[set-output name=name;]$(echo $ BRANCH_NAME)"
51+ echo "name=$ BRANCH_NAME" >> $GITHUB_OUTPUT
5152 fi
5253 id : extract
5354
You can’t perform that action at this time.
0 commit comments