diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 8d288a7..b44d309 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -32,7 +32,7 @@ jobs: export RELEASE_NAME=${REPOSITORY#*/} # Export RELEASE_NAME as an output - echo "::set-output name=RELEASE_NAME::$RELEASE_NAME" + echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_OUTPUT yarn build env: diff --git a/.github/workflows/feature-branch-deployment.yaml b/.github/workflows/feature-branch-deployment.yaml index 35e03fe..cc1c22d 100644 --- a/.github/workflows/feature-branch-deployment.yaml +++ b/.github/workflows/feature-branch-deployment.yaml @@ -25,8 +25,10 @@ jobs: - name: Get Pull Request Metadata id: pr run: |- - echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")" - echo "::set-output name=pull_request_closed::$(gh pr view --json closed -q .closed || echo "")" + export PULL_REQUEST_NUMBER=$(gh pr view --json number -q .number || echo "") + export PULL_REQUEST_CLOSED=$(gh pr view --json closed -q .closed || echo "") + echo "pull_request_number=$PULL_REQUEST_NUMBER" >> $GITHUB_OUTPUT + echo "pull_request_closed=$PULL_REQUEST_CLOSED" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - id: synth @@ -41,7 +43,7 @@ jobs: export RELEASE_NAME=${REPOSITORY#*/}-pr-${{ steps.pr.outputs.pull_request_number }} # Export RELEASE_NAME as an output - echo "::set-output name=RELEASE_NAME::$RELEASE_NAME" + echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_OUTPUT yarn build env: diff --git a/.github/workflows/feature-branch-nuke.yaml b/.github/workflows/feature-branch-nuke.yaml index 13ed71b..9626e5b 100644 --- a/.github/workflows/feature-branch-nuke.yaml +++ b/.github/workflows/feature-branch-nuke.yaml @@ -36,7 +36,7 @@ jobs: export DEPLOY_TO_FEATURE_BRANCH=true export RELEASE_NAME=${REPOSITORY#*/}-pr-$PR_NUMBER # Export RELEASE_NAME as an output - echo "::set-output name=RELEASE_NAME::$RELEASE_NAME" + echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_OUTPUT yarn build env: PR_NUMBER: ${{ inputs.prNumber }}