Compare commits
6
Commits
v0.0.5-test
...
v11-test
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee55a4104a | ||
|
|
1651f2ca1c | ||
|
|
ba93dcbeac | ||
|
|
cbc7ea7d25 | ||
|
|
e0c6885b03 | ||
|
|
c6694b7dc8 |
@@ -21,6 +21,17 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: setup node v13.12.0
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 13.12.0
|
||||||
|
cache: 'npm'
|
||||||
|
- 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
|
- name: GitHub Action for GraalVM JDK 17
|
||||||
uses: graalvm/setup-graalvm@v1
|
uses: graalvm/setup-graalvm@v1
|
||||||
with:
|
with:
|
||||||
@@ -36,28 +47,26 @@ jobs:
|
|||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
- name: Build with Maven (neutrino-proxy-server)
|
- name: Build with Maven (neutrino-proxy-server)
|
||||||
run: |
|
run: |
|
||||||
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress package
|
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
||||||
cd neutrino-proxy-server
|
cd neutrino-proxy-server
|
||||||
mvn clean package --file pom.xml --no-transfer-progress package
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
# cp target/neutrino-proxy-server.jar ./../
|
- name: Archive zip (neutrino-proxy-server)
|
||||||
|
uses: thedoctor0/zip-release@master
|
||||||
|
with:
|
||||||
|
type: 'zip'
|
||||||
|
path: 'neutrino-proxy-server/target/neutrino-proxy-server'
|
||||||
|
filename: neutrino-proxy-server-${{ matrix.os }}.zip
|
||||||
- name: Build with Maven (neutrino-proxy-client)
|
- name: Build with Maven (neutrino-proxy-client)
|
||||||
run: |
|
run: |
|
||||||
cd neutrino-proxy-client
|
cd neutrino-proxy-client
|
||||||
mvn clean package --file pom.xml --no-transfer-progress package
|
mvn clean package --file pom.xml --no-transfer-progress
|
||||||
# cp target/neutrino-proxy-client.jar ./../
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
# 上传构建产物
|
- name: Archive zip (neutrino-proxy-client)
|
||||||
# - name: Upload artifact (neutrino-proxy-server)
|
uses: thedoctor0/zip-release@master
|
||||||
# uses: actions/[email protected]
|
with:
|
||||||
# with:
|
type: 'zip'
|
||||||
# name: neutrino-proxy-server
|
path: 'neutrino-proxy-client/target/neutrino-proxy-client'
|
||||||
# path:
|
filename: neutrino-proxy-client-${{ matrix.os }}.zip
|
||||||
# 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
|
# GitHub 上创建 release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@@ -66,5 +75,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
||||||
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
||||||
|
neutrino-proxy-server-${{ matrix.os }}.zip
|
||||||
|
neutrino-proxy-client-${{ matrix.os }}.zip
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user