Skip to content

Commit

Permalink
ci: Add workflow for triggering automatic generation of base SDKs.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed Sep 12, 2021
1 parent 6afd075 commit a4f269d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/generate-sdks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Generate SDKs
on:
release:
types: [published]

jobs:
# Bump the membrane version
generate_sdks:
name: Signal base SDK repo for auto regen
runs-on: ubuntu-latest
steps:
- name: Signal base SDK repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.NITRIC_BOT_TOKEN }}
repository: nitrictech/base-sdk
event-type: generate
client-payload: '{ "prerelease": ${{ github.event.release.prerelease }}, "version": "${{ github.event.release.tag_name }}" }'

0 comments on commit a4f269d

Please sign in to comment.