You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by oc...@apache.org on 2023/10/05 02:33:09 UTC

[trafficcontrol] branch master updated: Replace deprecated command with environment file (#7823)

This is an automated email from the ASF dual-hosted git repository.

ocket8888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c4bcb50c9 Replace deprecated command with environment file (#7823)
1c4bcb50c9 is described below

commit 1c4bcb50c9eb726d4637c35bccdf0e7e7e9d3bb7
Author: Jongwoo Han <jo...@gmail.com>
AuthorDate: Thu Oct 5 11:33:03 2023 +0900

    Replace deprecated command with environment file (#7823)
    
    Signed-off-by: jongwooo <jo...@gmail.com>
---
 .github/actions/repo-info/entrypoint.sh     | 2 +-
 .github/workflows/check-go-modules.yml      | 2 +-
 .github/workflows/go.vet.yml                | 2 +-
 .github/workflows/license-file-coverage.yml | 2 +-
 .github/workflows/pr-to-update-go.yml       | 2 +-
 .github/workflows/tm.integration.tests.yml  | 2 +-
 .github/workflows/to.api.contract.tests.yml | 2 +-
 .github/workflows/to.integration.tests.yml  | 6 +++---
 .github/workflows/tp.integration.tests.yml  | 2 +-
 .github/workflows/tpv2.yml                  | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/.github/actions/repo-info/entrypoint.sh b/.github/actions/repo-info/entrypoint.sh
index 36e02b702f..7255c309b2 100755
--- a/.github/actions/repo-info/entrypoint.sh
+++ b/.github/actions/repo-info/entrypoint.sh
@@ -70,6 +70,6 @@ if [[ -z "$ahead_by" ]]; then
 fi
 expected_rpm_name="${INPUT_REPO}-${latest_tag}-${ahead_by}.${_sha}.el${RHEL_VERSION}.${TARGET_ARCH}.rpm"
 
-echo "::set-output name=expected-rpm-name::${expected_rpm_name}"
+echo "expected-rpm-name=${expected_rpm_name}" >> $GITHUB_OUTPUT
 
 exit 0
diff --git a/.github/workflows/check-go-modules.yml b/.github/workflows/check-go-modules.yml
index d4b2254267..2995813dd8 100644
--- a/.github/workflows/check-go-modules.yml
+++ b/.github/workflows/check-go-modules.yml
@@ -44,7 +44,7 @@ jobs:
       - name: Checkout
         uses: actions/checkout@master
       - name: Check Go Version
-        run: echo "::set-output name=value::$(cat GO_VERSION)"
+        run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
         id: go-version
       - name: Install Go
         uses: actions/setup-go@v2
diff --git a/.github/workflows/go.vet.yml b/.github/workflows/go.vet.yml
index 961c217118..038b07ca5f 100644
--- a/.github/workflows/go.vet.yml
+++ b/.github/workflows/go.vet.yml
@@ -40,7 +40,7 @@ jobs:
     - name: Checkout
       uses: actions/checkout@master
     - name: go-version
-      run: echo "::set-output name=value::$(cat GO_VERSION)"
+      run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
       id: go-version
     - uses: actions/setup-go@v2
       with:
diff --git a/.github/workflows/license-file-coverage.yml b/.github/workflows/license-file-coverage.yml
index 4ce3843cb7..09de55ad4e 100644
--- a/.github/workflows/license-file-coverage.yml
+++ b/.github/workflows/license-file-coverage.yml
@@ -47,7 +47,7 @@ jobs:
         id: go-version
         run: |
           go_version="$(curl -L "${BLOB_URL}/GO_VERSION")" &&
-          echo "::set-output name=value::${go_version}"
+          echo "value=${go_version}" >> $GITHUB_OUTPUT
       - uses: actions/setup-go@v2
         with:
           go-version: ${{ steps.go-version.outputs.value }} # The Go version to download (if necessary) and use.
diff --git a/.github/workflows/pr-to-update-go.yml b/.github/workflows/pr-to-update-go.yml
index 92ebbac589..10b735c699 100644
--- a/.github/workflows/pr-to-update-go.yml
+++ b/.github/workflows/pr-to-update-go.yml
@@ -49,7 +49,7 @@ jobs:
         if: ${{ steps.checkout.outcome == 'success' }}
         run: python3 -m pr_to_update_go --update-version-only
       - name: Check Go version
-        run: echo "::set-output name=value::$(cat GO_VERSION)"
+        run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
         id: go-version
       - name: Install Go
         uses: actions/setup-go@v2
diff --git a/.github/workflows/tm.integration.tests.yml b/.github/workflows/tm.integration.tests.yml
index 95dca7bfd2..9da4b8dfc1 100644
--- a/.github/workflows/tm.integration.tests.yml
+++ b/.github/workflows/tm.integration.tests.yml
@@ -48,7 +48,7 @@ jobs:
         with:
             fetch-depth: 1
       - name: Check Go Version
-        run: echo "::set-output name=value::$(cat GO_VERSION)"
+        run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
         id: go-version
       - name: Install Go
         uses: actions/setup-go@v2
diff --git a/.github/workflows/to.api.contract.tests.yml b/.github/workflows/to.api.contract.tests.yml
index 60194d9d98..4cb0a03378 100644
--- a/.github/workflows/to.api.contract.tests.yml
+++ b/.github/workflows/to.api.contract.tests.yml
@@ -78,7 +78,7 @@ jobs:
       id: tvdb
       uses: ./.github/actions/tvdb-init
     - name: Check Go Version
-      run: echo "::set-output name=value::$(cat GO_VERSION)"
+      run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
       id: go-version
     - name: Install Go
       uses: actions/setup-go@v2
diff --git a/.github/workflows/to.integration.tests.yml b/.github/workflows/to.integration.tests.yml
index e998c85983..480d13d459 100644
--- a/.github/workflows/to.integration.tests.yml
+++ b/.github/workflows/to.integration.tests.yml
@@ -102,7 +102,7 @@ jobs:
       id: tvdb
       uses: ./.github/actions/tvdb-init
     - name: Check Go Version
-      run: echo "::set-output name=value::$(cat GO_VERSION)"
+      run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
       id: go-version
     - name: Install Go
       uses: actions/setup-go@v2
@@ -179,7 +179,7 @@ jobs:
       id: tvdb
       uses: ./.github/actions/tvdb-init
     - name: Check Go Version
-      run: echo "::set-output name=value::$(cat GO_VERSION)"
+      run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
       id: go-version
     - name: Install Go
       uses: actions/setup-go@v2
@@ -258,7 +258,7 @@ jobs:
       id: tvdb
       uses: ./.github/actions/tvdb-init
     - name: Check Go Version
-      run: echo "::set-output name=value::$(cat GO_VERSION)"
+      run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
       id: go-version
     - name: Install Go
       uses: actions/setup-go@v2
diff --git a/.github/workflows/tp.integration.tests.yml b/.github/workflows/tp.integration.tests.yml
index b1b520e723..8b374e4e03 100644
--- a/.github/workflows/tp.integration.tests.yml
+++ b/.github/workflows/tp.integration.tests.yml
@@ -153,7 +153,7 @@ jobs:
         id: tvdb
         uses: ./.github/actions/tvdb-init
       - name: Check Go Version
-        run: echo "::set-output name=value::$(cat GO_VERSION)"
+        run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
         id: go-version
       - name: Install Go
         uses: actions/setup-go@v2
diff --git a/.github/workflows/tpv2.yml b/.github/workflows/tpv2.yml
index 3593a798b8..ed6df39554 100644
--- a/.github/workflows/tpv2.yml
+++ b/.github/workflows/tpv2.yml
@@ -204,7 +204,7 @@ jobs:
         id: tvdb
         uses: ./.github/actions/tvdb-init
       - name: Check Go Version
-        run: echo "::set-output name=value::$(cat GO_VERSION)"
+        run: echo "value=$(cat GO_VERSION)" >> $GITHUB_OUTPUT
         id: go-version
       - name: Install Go
         uses: actions/setup-go@v3