修复文件修改时间判断错误和网络IO等待时间过长会报错的问题 #11
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: release publish | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup JDK | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: 8 | |
| distribution: zulu | |
| - name: Build | |
| uses: gradle/gradle-build-action@v2.4.0 | |
| with: | |
| arguments: shadowJar | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: build/libs/* |