Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db13fb49b1 | ||
|
|
94cac52ad2 | ||
|
|
32780f34a4 |
@@ -9,11 +9,11 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# 'ubuntu-latest', 'windows-latest', 'macos-latest'
|
||||
# os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
||||
os: ['ubuntu-latest']
|
||||
# see: https://docs.github.com/zh/actions/using-jobs/choosing-the-runner-for-a-job
|
||||
os: ['ubuntu-20.04', 'windows-latest', 'macos-latest']
|
||||
# os: ['ubuntu-latest']
|
||||
name: build - ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
# https://github.com/softprops/action-gh-release/issues/236#issuecomment-1150530128
|
||||
@@ -50,22 +50,24 @@ jobs:
|
||||
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
||||
cd neutrino-proxy-server
|
||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||
cp target/neutrino-proxy-server ./../
|
||||
- name: Archive zip (neutrino-proxy-server)
|
||||
uses: thedoctor0/zip-release@master
|
||||
with:
|
||||
type: 'zip'
|
||||
path: 'neutrino-proxy-server/target/neutrino-proxy-server'
|
||||
path: 'neutrino-proxy-server'
|
||||
filename: neutrino-proxy-server-${{ matrix.os }}.zip
|
||||
- name: Build with Maven (neutrino-proxy-client)
|
||||
run: |
|
||||
cd neutrino-proxy-client
|
||||
mvn clean package --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)
|
||||
uses: thedoctor0/zip-release@master
|
||||
with:
|
||||
type: 'zip'
|
||||
path: 'neutrino-proxy-client/target/neutrino-proxy-client'
|
||||
path: 'neutrino-proxy-client'
|
||||
filename: neutrino-proxy-client-${{ matrix.os }}.zip
|
||||
# GitHub 上创建 release
|
||||
- name: Release
|
||||
|
||||
Reference in New Issue
Block a user