-
Notifications
You must be signed in to change notification settings - Fork 10
32 lines (28 loc) · 872 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: AST Scanner plugin CI
on: [pull_request]
jobs:
integration-tests:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
CX_BASE_URI: ${{ secrets.CX_BASE_URI}}
CX_BASE_AUTH_URI: ${{ secrets.CX_BASE_AUTH_URI}}
CX_TENANT: ${{ secrets.CX_TENANT }}
CX_CLIENT_ID: ${{ secrets.CX_CLIENT_ID }}
CX_CLIENT_SECRET: ${{ secrets.CX_CLIENT_SECRET }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: 11
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}
- name: Build with Maven
run: mvn -B package --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}