Build #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a buf project | |
# for more information view https://buf.build/docs/ci-cd/github-actions/ | |
name: Build | |
on: | |
workflow_run: | |
workflows: | |
- "Lint" | |
types: | |
- completed | |
branches: | |
- main | |
jobs: | |
build: | |
name: Buf Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Buf Setup | |
uses: bufbuild/buf-setup-action@v1 | |
- name: Generate | |
run: buf generate | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: lib | |
path: | | |
lib | |
retention-days: 7 |