Replace deprecated set-output syntax

This commit is contained in:
katexochen 2022-10-12 10:39:31 +02:00 committed by Paul Meyer
parent e3e7fddf76
commit 49f233246c
11 changed files with 17 additions and 17 deletions

View File

@ -148,7 +148,7 @@ runs:
id: constellation-init
run: |
constellation init
echo "::set-output name=KUBECONFIG::$(pwd)/constellation-admin.conf"
echo "KUBECONFIG=$(pwd)/constellation-admin.conf >> $GITHUB_OUTPUT"
shell: bash
- name: Wait for nodes to join and become ready

View File

@ -47,8 +47,8 @@ runs:
id: determine-build-target
shell: bash
run: |
echo "::set-output name=hostOS::$(go env GOOS)"
echo "::set-output name=hostArch::$(go env GOARCH)"
echo "hostOS=$(go env GOOS) >> $GITHUB_OUTPUT"
echo "hostArch=$(go env GOARCH) >> $GITHUB_OUTPUT"
- name: Build CLI
uses: ./.github/actions/build_cli

View File

@ -39,10 +39,10 @@ runs:
timestamp=$(go run . -print-timestamp)
branchName=$(go run . -print-branch)
releaseVersion=$(go run . -print-release-branch)
echo "::set-output name=pseudoVersion::${pseudoVersion}"
echo "::set-output name=semanticVersion::${semanticVersion}"
echo "::set-output name=timestamp::${timestamp}"
echo "::set-output name=branchName::${branchName}"
echo "::set-output name=releaseVersion::${releaseVersion}"
echo "pseudoVersion=${pseudoVersion} >> $GITHUB_OUTPUT"
echo "semanticVersion=${semanticVersion} >> $GITHUB_OUTPUT"
echo "timestamp=${timestamp} >> $GITHUB_OUTPUT"
echo "branchName=${branchName} >> $GITHUB_OUTPUT"
echo "releaseVersion=${releaseVersion} >> $GITHUB_OUTPUT"
working-directory: hack/pseudo-version
shell: bash

View File

@ -35,7 +35,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Run Azure E2E test
uses: ./.github/actions/e2e_test

View File

@ -30,7 +30,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Run Azure E2E test
uses: ./.github/actions/e2e_test
@ -102,7 +102,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Run Azure E2E test
uses: ./.github/actions/e2e_test

View File

@ -102,7 +102,7 @@ jobs:
uuid=$(uuidgen)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Set up gcloud CLI
if: ${{ github.event.inputs.cloudProvider == 'gcp' }}

View File

@ -68,7 +68,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Run manual E2E test
uses: ./.github/actions/e2e_test

View File

@ -46,7 +46,7 @@ jobs:
uuid=$(cat /proc/sys/kernel/random/uuid)
name=e2e-test-${uuid%%-*}
az group create --location westus --name $name --tags e2e
echo "::set-output name=res_group_name::$name"
echo "res_group_name=$name >> $GITHUB_OUTPUT"
- name: Create Cluster & Generate Measurements
uses: ./.github/actions/generate_measurements

View File

@ -40,7 +40,7 @@ jobs:
run: |
mods=$(go list -f '{{.Dir}}/...' -m | xargs)
echo "Found mods: $mods"
echo "::set-output name=submods::${mods}"
echo "submods=${mods} >> $GITHUB_OUTPUT"
- name: Govulncheck
shell: bash

View File

@ -45,7 +45,7 @@ jobs:
run: |
mods=$(go list -f '{{.Dir}}/...' -m | xargs)
echo "Found mods: $mods"
echo "::set-output name=submods::${mods}"
echo "submods=${mods} >> $GITHUB_OUTPUT"
- name: golangci-lint
uses: golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc

View File

@ -36,7 +36,7 @@ jobs:
run: |
mods=$(go list -f '{{.Dir}}' -m | xargs)
echo "Found mods: $mods"
echo "::set-output name=submods::${mods}"
echo "submods=${mods} >> $GITHUB_OUTPUT"
- name: Go tidy check
uses: katexochen/go-tidy-check@45731e0013a976d5d616d79007c7ba52de6ce542