diff --git a/.github/workflows/deploy-and-run-cypress.yml b/.github/workflows/deploy-and-run-cypress.yml index 46705de29..1d6a582cf 100644 --- a/.github/workflows/deploy-and-run-cypress.yml +++ b/.github/workflows/deploy-and-run-cypress.yml @@ -67,7 +67,7 @@ jobs: id: set-domain # Set test instance domain based on branch name slug run: | - echo "::set-output name=domain::test-deploy-${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" + echo "domain=test-deploy-${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" >> $GITHUB_OUTPUT - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f96918389..4a8860edb 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -98,7 +98,7 @@ jobs: - name: Set domain id: set-domain run: | - echo "::set-output name=domain::${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" + echo "domain=${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" >> $GITHUB_OUTPUT - name: Get API_URI id: api_uri # Search for API_URI in PR description and use default if not defined @@ -108,7 +108,7 @@ jobs: pattern: (http|https)://[a-zA-Z0-9.-]+/graphql/? fallback_uri: ${{ secrets.CYPRESS_API_URI }} run: | - echo "::set-output name=custom_api_uri::$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1 | { read custom_uri; if [ -z "$custom_uri" ]; then echo "$fallback_uri"; else echo "$custom_uri"; fi })" + echo "custom_api_uri=$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1 | { read custom_uri; if [ -z "$custom_uri" ]; then echo "$fallback_uri"; else echo "$custom_uri"; fi })" >> $GITHUB_OUTPUT - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/publish-containers.yml b/.github/workflows/publish-containers.yml index 0fe2353b6..fa18b9e29 100644 --- a/.github/workflows/publish-containers.yml +++ b/.github/workflows/publish-containers.yml @@ -22,7 +22,7 @@ jobs: id: image run: | IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') - echo ::set-output name=image_name::ghcr.io/${IMAGE_NAME} + echo "image_name=ghcr.io/${IMAGE_NAME}" >> $GITHUB_OUTPUT # Tags stable versions as :latest # Pre-releases, alphas, etc. as :snapshot diff --git a/.github/workflows/test-env-cleanup.yml b/.github/workflows/test-env-cleanup.yml index eb0bb5104..1ea8811e2 100644 --- a/.github/workflows/test-env-cleanup.yml +++ b/.github/workflows/test-env-cleanup.yml @@ -14,7 +14,7 @@ jobs: id: set-domain # Set test instance domain based on branch name slug run: | - echo "::set-output name=domain::${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" + echo "domain=${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" >> $GITHUB_OUTPUT - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml index 3a50342fa..97718675a 100644 --- a/.github/workflows/test-env-deploy.yml +++ b/.github/workflows/test-env-deploy.yml @@ -58,7 +58,7 @@ jobs: prefix: API_URI= pattern: (http|https)://[a-zA-Z0-9.-]+/graphql/? run: | - echo "::set-output name=custom_api_uri::$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1)" + echo "custom_api_uri=$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1)" >> $GITHUB_OUTPUT - name: Get APPS_MARKETPLACE_API_URI id: apps_marketplace_api_uri # Search for APPS_MARKETPLACE_API_URI in PR description @@ -67,7 +67,7 @@ jobs: prefix: APPS_MARKETPLACE_API_URI= pattern: (http|https)://[a-zA-Z0-9.-]+[a-zA-Z0-9/-]+/? run: | - echo "::set-output name=custom_apps_marketplace_api_uri::$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1)" + echo "custom_apps_marketplace_api_uri=$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1)" >> $GITHUB_OUTPUT - name: Run build env: # Use custom API_URI or the default one @@ -85,7 +85,7 @@ jobs: id: set-domain # Set test instance domain based on branch name slug run: | - echo "::set-output name=domain::${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" + echo "domain=${{ env.GITHUB_HEAD_REF_SLUG_URL }}.dashboard.saleor.rocks" >> $GITHUB_OUTPUT - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: @@ -193,7 +193,7 @@ jobs: pattern: (http|https)://[a-zA-Z0-9.-]+/graphql/? fallback_uri: ${{ secrets.CYPRESS_API_URI }} run: | - echo "::set-output name=custom_api_uri::$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1 | { read custom_uri; if [ -z "$custom_uri" ]; then echo "$fallback_uri"; else echo "$custom_uri"; fi })" + echo "custom_api_uri=$(echo "$pull_request_body" | grep -Eo "$prefix$pattern" | sed s/$prefix// | head -n 1 | { read custom_uri; if [ -z "$custom_uri" ]; then echo "$fallback_uri"; else echo "$custom_uri"; fi })" >> $GITHUB_OUTPUT - name: Setup Node uses: actions/setup-node@v3 with: diff --git a/.github/workflows/tests-nightly.yml b/.github/workflows/tests-nightly.yml index 39d395401..9e0d5104a 100644 --- a/.github/workflows/tests-nightly.yml +++ b/.github/workflows/tests-nightly.yml @@ -110,15 +110,15 @@ jobs: id: get-typed-env-uri if: ${{ github.event.inputs.environment == 'Other' }} run: | - echo "::set-output name=ENV_URI::${{github.event.inputs.otherEnvironment}}" + echo "ENV_URI=${{github.event.inputs.otherEnvironment}}" >> $GITHUB_OUTPUT - name: Get env id: get-env-uri env: DEFAULT_ENV_URI: 'https://automation-dashboard.staging.saleor.cloud/' TYPED_ENV_URI: '' run: | - echo "::set-output name=ENV_URI::${{ steps.get-typed-env-uri.outputs.ENV_URI || github.event.inputs.environment || env.DEFAULT_ENV_URI }}" - + echo "ENV_URI=${{ steps.get-typed-env-uri.outputs.ENV_URI || github.event.inputs.environment || env.DEFAULT_ENV_URI }}" >> $GITHUB_OUTPUT + - name: Setup Node uses: actions/setup-node@v3 with: @@ -205,7 +205,7 @@ jobs: env: version: ${{github.event.client_payload.version}} run: | - echo "::set-output name=ref::$(echo $version | grep -ohE "[0-9]\.[0-9]+" )" + echo "ref=$(echo $version | grep -ohE "[0-9]\.[0-9]+" )" >> $GITHUB_OUTPUT - name: Checkout uses: actions/checkout@v3