Skip to content

Commit

Permalink
Replace deprecated command with environment file (apache#7823)
Browse files Browse the repository at this point in the history
Signed-off-by: jongwooo <[email protected]>
  • Loading branch information
jongwooo authored Oct 5, 2023
1 parent f96f030 commit 1c4bcb5
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/repo-info/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/check-go-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license-file-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-to-update-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tm.integration.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/to.api.contract.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/to.integration.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tp.integration.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tpv2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c4bcb5

Please sign in to comment.