genJar.yml 603 B

12345678910111213141516171819202122232425262728
  1. name: Spider Jar Gen CI
  2. on: workflow_dispatch
  3. jobs:
  4. build:
  5. runs-on: windows-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: set up JDK 11
  9. uses: actions/setup-java@v2
  10. with:
  11. java-version: '11'
  12. distribution: 'adopt'
  13. cache: gradle
  14. - name: Build with Gradle
  15. run: ./buildAndGenJar.bat ec
  16. - name: Update spider jar
  17. uses: EndBug/add-and-commit@v7
  18. with:
  19. default_author: github_actions
  20. message: 'update spider jar'
  21. add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5']"