Create genJar.yml

workflows
This commit is contained in:
lushunming 2024-08-10 07:37:15 +08:00 committed by GitHub
parent 24d256a6c6
commit ed1a4cf63e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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']"