Skip to content

Commit 48b533a

Browse files
committed
Fix
1 parent 244d871 commit 48b533a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-golangci-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
run: |
2525
LATEST_VERSION=$(curl -s https://api.github.com/repos/golangci/golangci-lint/releases/latest | jq -r .tag_name | sed 's/v//')
2626
echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV
27-
echo "LATEST_VERSION=${LATEST_VERSION}" >> "$GITHUB_OUTPUT"
27+
echo "latest_version=${LATEST_VERSION}" >> "$GITHUB_OUTPUT"
2828
- name: Check current version in Makefile
2929
id: check_version
3030
run: |
3131
CURRENT_VERSION=$(grep 'GOLANGCI_LINT_VERSION' hack/tools/Makefile | cut -d '=' -f2 | tr -d ' ')
3232
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
33-
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
33+
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
3434
- name: Update Makefile if needed
3535
if: ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
3636
run: |

0 commit comments

Comments
 (0)