Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32780f34a4 | ||
|
|
8dd58035a6 | ||
|
|
ee55a4104a |
@@ -25,8 +25,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 13.12.0
|
node-version: 13.12.0
|
||||||
cache: 'npm'
|
# cache: 'npm' # 使用缓存需要把 package-lock.json 也上传到 git 上
|
||||||
cache-dependency-path: neutrino-proxy-admin/package-lock.json
|
|
||||||
- name: build neutrino-proxy-admin
|
- name: build neutrino-proxy-admin
|
||||||
run: |
|
run: |
|
||||||
cd neutrino-proxy-admin
|
cd neutrino-proxy-admin
|
||||||
@@ -51,22 +50,24 @@ jobs:
|
|||||||
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
||||||
cd neutrino-proxy-server
|
cd neutrino-proxy-server
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
|
cp target/neutrino-proxy-server ./../
|
||||||
- name: Archive zip (neutrino-proxy-server)
|
- name: Archive zip (neutrino-proxy-server)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-server/target/neutrino-proxy-server'
|
path: 'neutrino-proxy-server'
|
||||||
filename: neutrino-proxy-server-${{ matrix.os }}.zip
|
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
|
mvn clean package --file pom.xml --no-transfer-progress
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
|
cp target/neutrino-proxy-client ./../
|
||||||
- name: Archive zip (neutrino-proxy-client)
|
- name: Archive zip (neutrino-proxy-client)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-client/target/neutrino-proxy-client'
|
path: 'neutrino-proxy-client'
|
||||||
filename: neutrino-proxy-client-${{ matrix.os }}.zip
|
filename: neutrino-proxy-client-${{ matrix.os }}.zip
|
||||||
# GitHub 上创建 release
|
# GitHub 上创建 release
|
||||||
- name: Release
|
- name: Release
|
||||||
|
|||||||
Reference in New Issue
Block a user