Compare commits

..
4 Commits
Author SHA1 Message Date
songyinyin ba93dcbeac test github action v09 2023-10-25 10:36:20 +08:00
songyinyin cbc7ea7d25 test github action v08 2023-10-25 10:33:24 +08:00
songyinyin e0c6885b03 test github action v07 2023-10-25 10:30:58 +08:00
songyinyin c6694b7dc8 test github action v06 2023-10-25 10:27:48 +08:00
+12 -15
View File
@@ -21,6 +21,18 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- name: setup node v13.12.0
uses: actions/setup-node@v3
with:
node-version: 13.12.0
cache: 'npm'
cache-dependency-path: neutrino-proxy-admin/package-lock.json
- name: build neutrino-proxy-admin
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 +51,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/[email protected]
# with:
# 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
uses: softprops/action-gh-release@v1