diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 66b463d3280..bbb4a7c2f21 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -42,4 +42,14 @@ jobs: git config user.name "Dapr Bot" # Update origin with token git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - ./.github/scripts/create-release.sh ${{ inputs.rel_version }} \ No newline at end of file + ./.github/scripts/create-release.sh ${{ inputs.rel_version }} + trigger: + name: Triggers the Dapr runtime build + runs-on: ubuntu-latest + needs: create-release + steps: + - name: Triggers the build + env: + GITHUB_TOKEN: ${{ secrets.DAPR_BOT_TOKEN }} + run: | + gh workflow run dapr.yml --repo dapr/dapr --ref v$(echo '${{ inputs.rel_version }}' | sed -r 's/^[vV]?([0-9].+)$/\1/') \ No newline at end of file