Skip to content

Commit

Permalink
Fix proto generation workflow (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma authored Sep 24, 2024
1 parent c403355 commit 1585b81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/update_protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ jobs:
image: ghcr.io/cirruslabs/flutter:latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1.25.0
- uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: arduino/setup-protoc@v2
- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Flutter
run: flutter pub get

- run: make setup

- name: Update Proto Tag
run: sed -i "s/apiTag = 'v[0-9]*\.[0-9]*\.[0-9]*'/apiTag = '${{ github.event.client_payload.tag }}'/" lib/src/utils.dart

Expand Down
2 changes: 0 additions & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
version: v2
managed:
enabled: true
plugins:
- remote: buf.build/protocolbuffers/dart:v21.1.2
out: lib/src/gen
Expand Down

0 comments on commit 1585b81

Please sign in to comment.