Skip to content

Add server sdk v2.0 code #458

Add server sdk v2.0 code

Add server sdk v2.0 code #458

Workflow file for this run

name: Build
on:
push:
branches: [ master_java_2.0 ]
pull_request:
branches: [ master_java_2.0 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Maven
run: mvn --batch-mode -Pci clean package
- name: Maven Test
with:
IM_BASE_URI: ${{ secrets.IM_BASE_URI }}
IM_APPKEY: ${{ secrets.IM_APPKEY }}
IM_CLIENT_ID: ${{ secrets.IM_CLIENT_ID }}
IM_CLIENT_SECRET: ${{ secrets.IM_CLIENT_SECRET }}
# env:
# IM_BASE_URI: ${{ secrets.IM_BASE_URI }}
# IM_APPKEY: ${{ secrets.IM_APPKEY }}
# IM_CLIENT_ID: ${{ secrets.IM_CLIENT_ID }}
# IM_CLIENT_SECRET: ${{ secrets.IM_CLIENT_SECRET }}
run: mvn test

Check failure on line 30 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 30, Col: 9): Unexpected value 'run' .github/workflows/build.yml (Line: 19, Col: 9): Required property is missing: uses
integration:
needs: build
runs-on: ubuntu-latest
env:
IM_REALM: ${{ secrets.IM_REALM }}
IM_BASE_URI: ${{ secrets.IM_BASE_URI }}
IM_APPKEY: ${{ secrets.IM_APPKEY }}
IM_CLIENT_ID: ${{ secrets.IM_CLIENT_ID }}
IM_CLIENT_SECRET: ${{ secrets.IM_CLIENT_SECRET }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Maven
run: mvn -pl im-sdk-core --batch-mode -Pci clean test -D test="*IT" -D failIfNoTests=false
# run: mvn --batch-mode -Pci clean verify