mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-05-05 12:41:44 +00:00
fix: replace deprecated set-output with GITHUB_OUTPUT env file
Fixes #484: The ::set-output:: workflow command is deprecated. Updated CI workflow to use the $GITHUB_OUTPUT environment file syntax instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -28,8 +28,8 @@ jobs:
|
||||
go-version: '1.25'
|
||||
- id: go-cache-paths
|
||||
run: |
|
||||
echo "::set-output name=go-build::$(go env GOCACHE)"
|
||||
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
|
||||
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
|
||||
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
|
||||
- name: Go Build Cache
|
||||
uses: actions/cache@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user