Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use GITHUB_OUTPUT instead deprecated ::set-output

Michal Widerae6116de410dd
diff --git a/.github/workflows/publish-containers.yml b/.github/workflows/publish-containers.yml
index adfc48dc2e..c8266c6584 100644
--- a/.github/workflows/publish-containers.yml
+++ b/.github/workflows/publish-containers.yml
@@ -22,7 +22,7 @@ jobs:
run: |
# The name of the owner and of the repository: owner/repository
IMAGE_NAME=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')
- echo ::set-output name=image_name::${IMAGE_NAME}
+ echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_OUTPUT
# Outputs container tags for tagged pushes starting by 'v'
# Pushes only to GitHub Container Repository (ghcr.io)
diff --git a/.github/workflows/test-env-deploy.yml b/.github/workflows/test-env-deploy.yml
index 7abb5330d4..9b53c08168 100644
--- a/.github/workflows/test-env-deploy.yml
+++ b/.github/workflows/test-env-deploy.yml
@@ -19,7 +19,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 }}.api.saleor.rocks"
+ echo "domain=${{ env.GITHUB_HEAD_REF_SLUG_URL }}.api.saleor.rocks" >> $GITHUB_OUTPUT
- name: Start deployment
uses: bobheadxi/[email protected]