Skip to content

udpate http (#562)

udpate http (#562) #56

Workflow file for this run

name: JSON Schema
on:
push:
branches:
- main
paths:
- "**/*.go"
- ".github/workflows/schema.yaml"
jobs:
schema:
name: JSON Schema
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
with:
token: ${{ secrets.MEGAEASE_BOT }}
- name: Setup Go Environment
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build EaseProbe
run: make
- name: Generate JSON Schema
run: ./build/bin/easeprobe -j > resources/schema.json
- name: Commit JSON Schema
uses: EndBug/add-and-commit@v9
with:
message: "Update JSON Schema"
add: "resources/schema.json"
author_name: "GitHub Actions"
author_email: "[email protected]"