Skip to content

Fixed protoc.zip release artifact missing google/rpc/status.proto #2761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/check-protobuf-task.yml
Original file line number Diff line number Diff line change
@@ -53,7 +53,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- uses: bufbuild/buf-action@v1
- name: Install buf
uses: bufbuild/buf-action@v1
with:
setup_only: true

5 changes: 5 additions & 0 deletions .github/workflows/publish-go-nightly-task.yml
Original file line number Diff line number Diff line change
@@ -265,6 +265,11 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Install buf
uses: bufbuild/buf-action@v1
with:
setup_only: true

- name: Collect proto files
env:
NIGHTLY: true
5 changes: 5 additions & 0 deletions .github/workflows/publish-go-tester-task.yml
Original file line number Diff line number Diff line change
@@ -127,6 +127,11 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Install buf
uses: bufbuild/buf-action@v1
with:
setup_only: true

- name: Build
run: |
PACKAGE_NAME_PREFIX=${{ needs.package-name-prefix.outputs.prefix }}
5 changes: 5 additions & 0 deletions .github/workflows/release-go-task.yml
Original file line number Diff line number Diff line change
@@ -265,6 +265,11 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Install buf
uses: bufbuild/buf-action@v1
with:
setup_only: true

- name: Collect proto files
run: task protoc:collect

6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -258,10 +258,10 @@ tasks:

protoc:collect:
desc: Create a zip file containing all .proto files in DIST_DIR
dir: rpc
cmds:
- mkdir --parents ../{{.DIST_DIR}}
- zip -r ../{{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip * -i \*.proto
- mkdir --parents {{.DIST_DIR}}
- buf export . -o {{.DIST_DIR}}/proto
- cd {{.DIST_DIR}}/proto && zip -r ../{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip .

protoc:format:
desc: Perform formatting of the protobuf definitions