构建问题

This commit is contained in:
lushunming 2025-11-03 14:18:42 +08:00
parent 49b2c7c1e5
commit 8ac4501b1d
1 changed files with 6 additions and 8 deletions

View File

@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
@ -16,12 +16,10 @@ jobs:
distribution: 'adopt'
cache: gradle
- name: Build with Gradle
run: ./build.bat ec
- name: Grant execute permission to gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew assembleRelease
- 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']"