create changestream with timeout (#4166) #1646
This file contains hidden or 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
| name: flow-api-client | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: generate or hydrate protos | |
| uses: ./.github/actions/genprotos | |
| - name: Commit Build Artifacts | |
| run: | | |
| git config --global user.name "Continuous Integration" | |
| git config --global user.email "username@users.noreply.github.com" | |
| git fetch origin flow-api-client:flow-api-client | |
| git checkout flow-api-client | |
| cp flow/generated/protos/*.go ./flow-api-client/ | |
| git add flow-api-client/ | |
| git commit -m "$GITHUB_SHA" && git push --set-upstream origin flow-api-client | |
| git checkout "$GITHUB_SHA" |