Skip to content

Commit

Permalink
Remove usage of the deprecated GitHub Actions commands (#236)
Browse files Browse the repository at this point in the history
* Remove usage of the deprecated set-output GitHub Actions command

And write to the `GITHUB_OUTPUT` environment file instead.

* Bump docker/build-push-action from v2 to v3

To fix the warning:
```
Warning: The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
```
  • Loading branch information
Eli Flores authored Nov 16, 2022
1 parent 7518f31 commit 847e5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
id: get_tag
run: |
VERSION="$(git tag | grep -v kangal | sort -rV | head -n 1)"
echo "::set-output name=tag::$VERSION"
echo "tag=$VERSION" >> "$GITHUB_OUTPUT"
- name: Lint GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
make build
- name: Build dummy gRPC server Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
tags: greeter_server:local
context: pkg/controller/testdata/ghz
Expand Down

0 comments on commit 847e5e4

Please sign in to comment.