drop mirror: ignore `cannot execute DROP PUBLICATION in a read-only t… #281
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
name: flow-api-client | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- 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 "[email protected]" | |
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" |