Skip to content

Commit

Permalink
Merge pull request #19 from nolar/new-outputs
Browse files Browse the repository at this point in the history
Switch to the new recommended way of setting the outputs
  • Loading branch information
nolar authored Oct 31, 2022
2 parents 04bcf8e + 3ac5015 commit 181c711
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ K3D=$(k3d --version | grep -Po 'k3d version \K(v[\S]+)' || true )
echo "Detected k3d-version::${K3D}"
echo "Detected k3s-version::${K3S}"
echo "Detected k8s-version::${K8S}"
echo "::set-output name=k3d-version::${K3D}"
echo "::set-output name=k3s-version::${K3S}"
echo "::set-output name=k8s-version::${K8S}"
echo "k3d-version=${K3D}" >> $GITHUB_OUTPUT
echo "k3s-version=${K3S}" >> $GITHUB_OUTPUT
echo "k8s-version=${K8S}" >> $GITHUB_OUTPUT

# Start a cluster. It takes 20 seconds usually.
k3d cluster create ${K3D_NAME:-} --wait --image=rancher/k3s:"${K3S//+/-}" ${K3D_ARGS:-}
Expand Down

0 comments on commit 181c711

Please sign in to comment.