diff --git a/.github/workflows/jar_release.yml b/.github/workflows/jar_release.yml index 78082799..5b2a44cc 100644 --- a/.github/workflows/jar_release.yml +++ b/.github/workflows/jar_release.yml @@ -21,6 +21,15 @@ jobs: contents: write steps: - uses: actions/checkout@v3 + - name: build neutrino-proxy-admin + uses: actions/setup-node@v3 + with: + node-version: 13.12.0 + run: | + cd neutrino-proxy-admin + npm install + npm run build:dev + cp -rf ./dist/ ./../neutrino-proxy-server/src/main/resources/static/ - name: GitHub Action for GraalVM JDK 17 uses: graalvm/setup-graalvm@v1 with: @@ -39,25 +48,10 @@ 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 (neutrino-proxy-server) -# uses: actions/upload-artifact@v3.0.0 -# with: -# name: neutrino-proxy-server -# path: -# neutrino-proxy-server.jar -# - name: Upload artifact (neutrino-proxy-client) -# uses: actions/upload-artifact@v3.0.0 -# with: -# name: neutrino-proxy-client -# path: -# neutrino-proxy-client.jar # GitHub 上创建 release - name: Release uses: softprops/action-gh-release@v1