diff --git a/.github/workflows/jar_release.yml b/.github/workflows/jar_release.yml index 39da3c53..4d0a1529 100644 --- a/.github/workflows/jar_release.yml +++ b/.github/workflows/jar_release.yml @@ -39,20 +39,18 @@ 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 . - 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 . # 上传构建产物 - name: Upload artifact uses: actions/upload-artifact@v3.0.0 with: name: neutrino-proxy-server-and-client path: | - neutrino-proxy-server.jar - neutrino-proxy-client.jar + neutrino-proxy-server/target/neutrino-proxy-server.jar + neutrino-proxy-client/target/neutrino-proxy-client.jar # GitHub 上创建 release - name: Release uses: softprops/action-gh-release@v1