1
mirror of https://github.com/CarmJos/MineSQL.git synced 2026-06-04 16:43:03 +08:00

ci(upload): 添加构建上传功能

This commit is contained in:
2022-12-18 03:07:06 +08:00
parent 91beae16e7
commit b554f799ef
2 changed files with 20 additions and 5 deletions
+10 -5
View File
@@ -27,10 +27,15 @@ jobs:
distribution: 'adopt'
- name: "Package"
run: mvn -B package --file pom.xml -Dgpg.skip
- name: "Target Stage"
run: mkdir staging && cp */target/*.jar staging
- name: "Upload artifact"
- name: "Upload artifacts"
uses: actions/upload-artifact@v2
with:
name: Artifact
path: staging
name: artifacts
path: "**/target/"
- name: "Upload assets"
uses: actions/upload-artifact@v2
with:
name: assets
path: ".asset/"