Compare commits

..
Author SHA1 Message Date
songyinyin d78a1d7d9b test github action v03 2023-10-24 19:04:30 +08:00
songyinyin bd4f4a056d test github action v02 2023-10-24 18:48:10 +08:00
+12 -7
View File
@@ -39,19 +39,24 @@ jobs:
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress package
cd neutrino-proxy-server
mvn clean package --file pom.xml --no-transfer-progress package
cp target/neutrino-proxy-server.jar .
cp target/neutrino-proxy-server.jar ./../
- name: Build with Maven (neutrino-proxy-client)
run: |
cd neutrino-proxy-client
mvn clean package --file pom.xml --no-transfer-progress package
cp target/neutrino-proxy-client.jar .
cp target/neutrino-proxy-client.jar ./../
# 上传构建产物
- name: Upload artifact
- name: Upload artifact (neutrino-proxy-server)
uses: actions/[email protected]
with:
name: neutrino-proxy-server-and-client
path: |
name: neutrino-proxy-server
path:
neutrino-proxy-server.jar
- name: Upload artifact (neutrino-proxy-client)
uses: actions/[email protected]
with:
name: neutrino-proxy-client
path:
neutrino-proxy-client.jar
# GitHub 上创建 release
- name: Release
@@ -59,7 +64,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
neutrino-proxy-server.jar
neutrino-proxy-client.jar
neutrino-proxy-server
neutrino-proxy-client
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}