diff --git a/.github/workflows/nightly-v1.yml b/.github/workflows/nightly-v1.yml index 4a206ea..58b80cc 100644 --- a/.github/workflows/nightly-v1.yml +++ b/.github/workflows/nightly-v1.yml @@ -34,10 +34,10 @@ jobs: DAYOFWEEK=$(date +"%a") if [[ "$DAYOFWEEK" == "${{ env.DAY_RUN_BLD_FULL_TEST }}" ]] ; then echo RUN_BUILD=YES >> $GITHUB_ENV - echo "::set-output name=INSTALL_TEST::Zowe Release Tests" + echo "INSTALL_TEST=Zowe Release Tests" >> $GITHUB_OUTPUT echo "Today is $DAYOFWEEK, need to run build and full release test suite" else - echo "::set-output name=INSTALL_TEST::Zowe Nightly Tests" + echo "INSTALL_TEST=Zowe Nightly Tests" >> $GITHUB_OUTPUT echo "Today is $DAYOFWEEK, do not need to run build and full release test suite" fi @@ -56,7 +56,7 @@ jobs: time-difference-threshold-min: ${{ env.FORCE_BUILD_TIME_THRESHOLD }} - id: set-outputs - run: echo "::set-output name=RUN_BUILD::${{ env.RUN_BUILD }}" + run: echo "RUN_BUILD=${{ env.RUN_BUILD }}" >> $GITHUB_OUTPUT outputs: RUN_BUILD: ${{ steps.set-outputs.outputs.RUN_BUILD }} diff --git a/.github/workflows/release-v1.yml b/.github/workflows/release-v1.yml index a9717f2..951a058 100644 --- a/.github/workflows/release-v1.yml +++ b/.github/workflows/release-v1.yml @@ -177,7 +177,7 @@ jobs: run: | private_keyfile_path="${{ runner.temp }}/private.key" echo "${{ secrets.GPG_PRIVATE_KEY }}" > $private_keyfile_path - echo ::set-output name=PRIVATE_KEYFILE_PATH::$private_keyfile_path + echo PRIVATE_KEYFILE_PATH=$private_keyfile_path >> $GITHUB_OUTPUT - name: '[Sign 3 - formal release or force sign only!] Actual sign work' if: ${{ env.IS_FORMAL_RELEASE == 'true' || github.event.inputs.force-sign == 'true' }} @@ -228,7 +228,7 @@ jobs: echo -e "${RED}\n missing zowe revision - it is not parsed properly, please check step: [Validate] Print promote-artifacts.json to find out what went wrong" exit 1 fi - echo ::set-output name=ZOWE_REVISION::$zowe_revision + echo ZOWE_REVISION=$zowe_revision >> $GITHUB_OUTPUT - name: '[Tag 2 - formal release or force tag only!] Clone master branch to prepare for tagging' if: ${{ env.IS_FORMAL_RELEASE == 'true' || github.event.inputs.force-tag == 'true' }} diff --git a/.github/workflows/release-v2.yml b/.github/workflows/release-v2.yml index d3e62ef..b843496 100644 --- a/.github/workflows/release-v2.yml +++ b/.github/workflows/release-v2.yml @@ -181,7 +181,7 @@ jobs: run: | private_keyfile_path="${{ runner.temp }}/private.key" echo "${{ secrets.GPG_PRIVATE_KEY }}" > $private_keyfile_path - echo ::set-output name=PRIVATE_KEYFILE_PATH::$private_keyfile_path + echo PRIVATE_KEYFILE_PATH=$private_keyfile_path >> $GITHUB_OUTPUT - name: '[Sign 3 - formal release or force sign only!] Actual sign work' if: ${{ env.IS_FORMAL_RELEASE == 'true' || github.event.inputs.force-sign == 'true' }} @@ -232,7 +232,7 @@ jobs: echo -e "${RED}\n missing zowe revision - it is not parsed properly, please check step: [Validate] Print promote-artifacts.json to find out what went wrong" exit 1 fi - echo ::set-output name=ZOWE_REVISION::$zowe_revision + echo ZOWE_REVISION=$zowe_revision >> $GITHUB_OUTPUT - name: '[Tag 2 - formal release or force tag only!] Clone master branch to prepare for tagging' if: ${{ env.IS_FORMAL_RELEASE == 'true' || github.event.inputs.force-tag == 'true' }}