Skip to content

Commit

Permalink
Avoid use of set-output in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Aug 30, 2024
1 parent 682df05 commit 8a1b305
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- uses: bufbuild/buf-lint-action@v1
- uses: bufbuild/buf-push-action@v1
if: github.ref_name == 'ccp'
Expand All @@ -31,8 +33,7 @@ jobs:
- name: Get date
id: get-date
shell: bash
run: |
echo "::set-output name=date::$(date -u "+%Y-%m")"
run: echo "date=$(date -u '+%Y-%')" >> "$GITHUB_OUTPUT"
- name: Restore golangci-lint cache
uses: actions/cache@v4
timeout-minutes: 10
Expand Down

0 comments on commit 8a1b305

Please sign in to comment.