Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbc7ea7d25 | ||
|
|
e0c6885b03 | ||
|
|
c6694b7dc8 | ||
|
|
a2a5beaf5b | ||
|
|
418a44a7c2 | ||
|
|
d78a1d7d9b |
@@ -21,6 +21,16 @@ 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
|
||||||
|
- 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:
|
||||||
@@ -43,21 +53,13 @@ jobs:
|
|||||||
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 package
|
||||||
# 上传构建产物
|
|
||||||
- name: Upload artifact
|
|
||||||
uses: actions/[email protected]
|
|
||||||
with:
|
|
||||||
name: neutrino-proxy-server-and-client
|
|
||||||
path: |
|
|
||||||
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
|
||||||
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
|
||||||
# GitHub 上创建 release
|
# GitHub 上创建 release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
neutrino-proxy-server.jar
|
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
||||||
neutrino-proxy-client.jar
|
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user