构建问题
This commit is contained in:
parent
49b2c7c1e5
commit
8ac4501b1d
|
|
@ -5,7 +5,7 @@ on: workflow_dispatch
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -16,12 +16,10 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
|
- name: Grant execute permission to gradlew
|
||||||
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./build.bat ec
|
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']"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue