测试CI-CD脚本
Some checks failed
Java CI with Maven / build (push) Failing after 4m12s

This commit is contained in:
zhangyuheng 2023-12-07 11:22:53 +08:00
parent 48d348b142
commit 4ce21637ca

View File

@ -13,13 +13,13 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: https://gitea.com/actions/checkout@v3 - uses: https://ssl.lunadeer.cn:14446/actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: "Set up Maven" - name: "Set up Maven"
uses: stCarolas/setup-maven@v4 uses: https://ssl.lunadeer.cn:14446/actions/setup-maven@v4
- name: "Set up JDK 17" - name: "Set up JDK 17"
uses: actions/setup-java@v3 uses: https://ssl.lunadeer.cn:14446/actions/setup-java@v3
with: with:
java-version: '17' java-version: '17'
distribution: 'temurin' distribution: 'temurin'
@ -35,11 +35,11 @@ jobs:
run: | run: |
echo "done!" echo "done!"
- name: "setup go for release script" - name: "setup go for release script"
uses: https://github.com/actions/setup-go@v4 uses: https://ssl.lunadeer.cn:14446/actions/setup-go@v4
with: with:
go-version: '>=1.20.1' go-version: '>=1.20.1'
- name: "Release" - name: "Release"
uses: https://gitea.com/actions/release-action@main uses: https://ssl.lunadeer.cn:14446/actions/release-action@main
with: with:
files: |- files: |-
staging/*.jar staging/*.jar