Skip to content

CI + x402: stabilize EVM Interop, add Buf push workflow, and finalize claim manifest #32

CI + x402: stabilize EVM Interop, add Buf push workflow, and finalize claim manifest

CI + x402: stabilize EVM Interop, add Buf push workflow, and finalize claim manifest #32

Workflow file for this run

name: Buf-Push

Check failure on line 1 in .github/workflows/buf-push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/buf-push.yml

Invalid workflow file

(Line: 13, Col: 9): Unrecognized named-value: 'secrets'. Located at position 50 within expression: github.repository == 'sei-protocol/sei-chain' && secrets.BUF_TOKEN != ''
on:
push:
branches: [ main ] # only on upstream main
permissions:
contents: read
packages: read
jobs:
buf-push:
if: ${{ github.repository == 'sei-protocol/sei-chain' && secrets.BUF_TOKEN != '' }}
runs-on: ubuntu-latest
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Install Buf
run: |
curl -sSL https://github.com/bufbuild/buf/releases/download/v1.31.0/buf-Linux-x86_64 -o /usr/local/bin/buf
chmod +x /usr/local/bin/buf
- name: Login & Push Buf module
run: |
echo "::add-mask::${BUF_TOKEN}"
echo "${BUF_TOKEN}" | buf registry login buf.build --token-stdin
buf push