From bf679b00326793b230bc1483185522bd5759adfa Mon Sep 17 00:00:00 2001 From: Hafiz Adewuyi Date: Wed, 7 Aug 2024 15:05:38 +0300 Subject: [PATCH] Stop using deprecated feature: (#82) https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/api-deploy-staging.yml | 4 ++-- .github/workflows/website-deploy-staging.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-deploy-staging.yml b/.github/workflows/api-deploy-staging.yml index 2353dd9..efeff76 100644 --- a/.github/workflows/api-deploy-staging.yml +++ b/.github/workflows/api-deploy-staging.yml @@ -16,8 +16,8 @@ jobs: - name: Set Environment Variables id: set-vars run: | - echo "::set-output name=api_service_name::${{ vars.API_SERVICE_NAME }}" - echo "::set-output name=api_service_path::${{ vars.API_SERVICE_PATH }}" + echo "api_service_name=${{ vars.API_SERVICE_NAME }}" >> $GITHUB_OUTPUT + echo "api_service_path=${{ vars.API_SERVICE_PATH }}" >> $GITHUB_OUTPUT deploy: needs: fetch-vars diff --git a/.github/workflows/website-deploy-staging.yml b/.github/workflows/website-deploy-staging.yml index d93ec62..6515c8d 100644 --- a/.github/workflows/website-deploy-staging.yml +++ b/.github/workflows/website-deploy-staging.yml @@ -16,8 +16,8 @@ jobs: - name: Set Environment Variables id: set-vars run: | - echo "::set-output name=website_service_name::${{ vars.WEBSITE_SERVICE_NAME }}" - echo "::set-output name=website_service_path::${{ vars.WEBSITE_SERVICE_PATH }}" + echo "website_service_name=${{ vars.WEBSITE_SERVICE_NAME }}" >> $GITHUB_OUTPUT + echo "website_service_path=${{ vars.WEBSITE_SERVICE_PATH }}" >> $GITHUB_OUTPUT deploy: needs: fetch-vars