diff --git a/.github/actions/download-tar-artifact/action.yml b/.github/actions/download-tar-artifact/action.yml index 344f7524107..033d55bdf95 100644 --- a/.github/actions/download-tar-artifact/action.yml +++ b/.github/actions/download-tar-artifact/action.yml @@ -28,7 +28,7 @@ runs: export slashes=$(grep -o "/" <<<"$path" | wc -l) export amount=$((amount + slashes)) fi - echo "##[set-output name=amount;]$(echo ${amount})" + echo "amount=${amount}" >> $GITHUB_OUTPUT shell: bash id: manage-path-folder diff --git a/.github/actions/extract-branch/action.yml b/.github/actions/extract-branch/action.yml index 468b7b6ccb2..6a91a576ce2 100644 --- a/.github/actions/extract-branch/action.yml +++ b/.github/actions/extract-branch/action.yml @@ -20,7 +20,7 @@ runs: ).replace("refs/heads/",""); - name: 🪑 Set output id: branch-name - run: echo "::set-output name=branch-name::$(echo $BRANCH_NAME)" + run: echo "branch-name=$BRANCH_NAME" >> $GITHUB_OUTPUT shell: bash env: BRANCH_NAME: ${{steps.get-branch-name.outputs.result}} diff --git a/.github/workflows/01-get-publish-version.yml b/.github/workflows/01-get-publish-version.yml index 39aa8e186db..e2242577e89 100644 --- a/.github/workflows/01-get-publish-version.yml +++ b/.github/workflows/01-get-publish-version.yml @@ -37,10 +37,10 @@ jobs: OUTPUT=$(./.github/scripts/get-release.sh) if [[ $OUTPUT == "RELEASE" ]]; then - echo "::set-output name=release::true" + echo "release=true" >> $GITHUB_OUTPUT elif [[ $OUTPUT == "PRE_RELEASE" ]]; then - echo "::set-output name=preRelease::true" + echo "preRelease=true" >> $GITHUB_OUTPUT fi env: GITHUB_REF: ${{ github.ref }} @@ -50,7 +50,7 @@ jobs: - name: ↔ Extract tag name shell: bash - run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/})" + run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT id: extractTag - name: 🏷 Get and Set Package Version on Env @@ -62,7 +62,7 @@ jobs: run: | chmod +rx ./.github/scripts/package-version.sh OUTPUT=$(./.github/scripts/package-version.sh) - echo "::set-output name=version::$OUTPUT" + echo "version=$OUTPUT" >> $GITHUB_OUTPUT - name: 🌳 Log Valid Version env: diff --git a/.github/workflows/02-deploy-gh-pages.yml b/.github/workflows/02-deploy-gh-pages.yml index 987d2aedbe1..27cd754d8e6 100644 --- a/.github/workflows/02-deploy-gh-pages.yml +++ b/.github/workflows/02-deploy-gh-pages.yml @@ -45,9 +45,10 @@ jobs: run: | if [[ $RELEASE == "true" || $PRE_RELEASE == "true" ]] then - echo "##[set-output name=name;]$(echo ${GITHUB_REF#refs/tags/})" + echo "name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT + else - echo "##[set-output name=name;]$(echo $BRANCH_NAME)" + echo "name=$BRANCH_NAME" >> $GITHUB_OUTPUT fi id: extract