Skip to content

Commit

Permalink
chore(ci): Set BUF_TOKEN env parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Oğuzhan Durgun <[email protected]>
  • Loading branch information
oguzhand95 committed Jul 17, 2024
1 parent 47c9219 commit 98f6a8e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
- 'v*'

jobs:
build-and-check-changes:
name: Build and check uncommitted changes
generate-build-and-check-changes:
name: Generate, build and check uncommitted changes
runs-on: ubuntu-latest
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
steps:
- name: Setup Buf
uses: bufbuild/[email protected]
Expand All @@ -19,6 +21,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the generate script
uses: cake-build/cake-action@v1
with:
cake-bootstrap: true
target: Generate

- name: Run the build script
uses: cake-build/cake-action@v1
with:
Expand Down

0 comments on commit 98f6a8e

Please sign in to comment.