diff --git a/.github/workflows/check-merge.yml b/.github/workflows/check-merge.yml index 378c595274f5..167879b628ba 100644 --- a/.github/workflows/check-merge.yml +++ b/.github/workflows/check-merge.yml @@ -50,10 +50,10 @@ jobs: if: steps.blocked.outputs.result != 'true' run: | echo "Checking for changesets marked as minor" - echo '::set-output name=found::false' + echo "found=false" >> $GITHUB_OUTPUT for file in ${{ steps.changed-files.outputs.all_changed_files }}; do if grep -q "'astro': minor" "$file"; then - echo '::set-output name=found::true' + echo "found=true" >> $GITHUB_OUTPUT echo "$file has a minor release tag" fi done diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 961f4d9977be..8e2fd8af4b0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,10 +54,10 @@ jobs: if [[ $output = '{ "changesets": [], "releases": [] }' ]] then echo 'No changeset found' - echo "::set-output name=run_job::true" + echo "run_job=true" >> $GITHUB_OUTPUT else echo 'changes found, push to latest skipped' - echo "::set-output name=run_job::false" + echo "run_job=false" >> $GITHUB_OUTPUT fi update: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30fd8867bcba..8696c85a04ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,9 @@ jobs: - name: Generate Notification id: notification if: steps.changesets.outputs.published == 'true' - run: message=$(node scripts/notify/index.js '${{ steps.changesets.outputs.publishedPackages }}') && echo ::set-output name=message::${message//$'\n'/'%0A'} + run: | + message=$(node scripts/notify/index.js '${{ steps.changesets.outputs.publishedPackages }}') + echo "message=${message//$'\n'/'%0A'}" >> $GITHUB_OUTPUT - name: Discord Notification if: steps.changesets.outputs.published == 'true'