diff --git a/.github/workflows/genJar.yml b/.github/workflows/genJar.yml index 6bb83854..d6a67b37 100644 --- a/.github/workflows/genJar.yml +++ b/.github/workflows/genJar.yml @@ -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: Grant execute permission to gradlew + run: chmod +x ./gradlew + - 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']" +