Create genJar.yml

This commit is contained in:
唐三 2022-10-13 23:25:50 +08:00 committed by GitHub
parent 075b3889cc
commit 5ace75a890
1 changed files with 27 additions and 0 deletions

27
.github/workflows/genJar.yml vendored Normal file
View File

@ -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: ./buildAndGenJar.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']"