Skip to content

[dropflow] delete flow configs only after finish drop (#2281) #207

[dropflow] delete flow configs only after finish drop (#2281)

[dropflow] delete flow configs only after finish drop (#2281) #207

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 "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"