Skip to content

feat: 完善了essay-show的idl定义 #130

feat: 完善了essay-show的idl定义

feat: 完善了essay-show的idl定义 #130

Workflow file for this run

name: Trigger Java Code Generate
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
branches: [ "*" ]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Trigger Java
run: |
branch=$(echo ${{ github.event.ref }} | awk -F '/' '{print $3}')
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/xh-polaris/service-idl-gen-java/dispatches \
-d '{"event_type":"idl_update","client_payload":{"repository":"${{ github.repository }}","ref":"'$branch'","commit_msg":"${{ github.event.head_commit.message }}"}}'