[*] android only
This commit is contained in:
114
.github/workflows/build.yml
vendored
114
.github/workflows/build.yml
vendored
@@ -5,62 +5,62 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
taoyao-signal-server:
|
||||
name: Build taoyao signal server
|
||||
strategy:
|
||||
matrix:
|
||||
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
runs-on: ${{ matrix.runs-on }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
- name: Build with Maven
|
||||
run: mvn clean package -P prd -D maven.test.skip=true -B -V --file ./taoyao-signal-server/pom.xml
|
||||
taoyao-client-web:
|
||||
name: Build taoyao client web
|
||||
strategy:
|
||||
matrix:
|
||||
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
runs-on: ${{ matrix.runs-on }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: npm
|
||||
node-version: 16.x
|
||||
cache-dependency-path: ./taoyao-client-web
|
||||
- name: Build with NodeJS
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
working-directory: ./taoyao-client-web
|
||||
taoyao-client-media:
|
||||
name: Build taoyao client media
|
||||
strategy:
|
||||
matrix:
|
||||
runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
runs-on: ${{ matrix.runs-on }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: npm
|
||||
node-version: 16.x
|
||||
cache-dependency-path: ./taoyao-client-media
|
||||
- name: Build with NodeJS
|
||||
run: |
|
||||
npm install
|
||||
# 不能直接运行
|
||||
# npm run dev
|
||||
working-directory: ./taoyao-client-media
|
||||
# taoyao-signal-server:
|
||||
# name: Build taoyao signal server
|
||||
# strategy:
|
||||
# matrix:
|
||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
# runs-on: ${{ matrix.runs-on }}
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Set up JDK
|
||||
# uses: actions/setup-java@v1
|
||||
# with:
|
||||
# java-version: 17
|
||||
# - name: Build with Maven
|
||||
# run: mvn clean package -P prd -D maven.test.skip=true -B -V --file ./taoyao-signal-server/pom.xml
|
||||
# taoyao-client-web:
|
||||
# name: Build taoyao client web
|
||||
# strategy:
|
||||
# matrix:
|
||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
# runs-on: ${{ matrix.runs-on }}
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Use Node.js 16.x
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# cache: npm
|
||||
# node-version: 16.x
|
||||
# cache-dependency-path: ./taoyao-client-web
|
||||
# - name: Build with NodeJS
|
||||
# run: |
|
||||
# npm install
|
||||
# npm run build
|
||||
# working-directory: ./taoyao-client-web
|
||||
# taoyao-client-media:
|
||||
# name: Build taoyao client media
|
||||
# strategy:
|
||||
# matrix:
|
||||
# runs-on: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
# runs-on: ${{ matrix.runs-on }}
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Use Node.js 16.x
|
||||
# uses: actions/setup-node@v3
|
||||
# with:
|
||||
# cache: npm
|
||||
# node-version: 16.x
|
||||
# cache-dependency-path: ./taoyao-client-media
|
||||
# - name: Build with NodeJS
|
||||
# run: |
|
||||
# npm install
|
||||
# # 不能直接运行
|
||||
# # npm run dev
|
||||
# working-directory: ./taoyao-client-media
|
||||
taoyao-client-android:
|
||||
name: Build taoyao client android
|
||||
strategy:
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 17
|
||||
- name: Setup Android SDK
|
||||
|
||||
Reference in New Issue
Block a user