From d35a9bd1e68d95b838262d8012b208b4a8bde971 Mon Sep 17 00:00:00 2001 From: nbwzlyd1 <1185675288@qq.com> Date: Thu, 26 Jan 2023 13:34:42 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..851f5241 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Spider Jar Gen CI + +on: workflow_dispatch + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: gradle + + - name: Build with Gradle + run: ./build.bat ec + + - name: Update spider jar + uses: EndBug/add-and-commit@v7 + with: + default_author: github_actions + message: 'update spider jar' + add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5']"