-
-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (42 loc) · 1.31 KB
/
iq-tests.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
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "IQ-Scan-Test"
on:
pull_request:
paths-ignore:
- 'LICENSE'
- 'docs/**'
push:
tags-ignore:
- 'v*'
paths-ignore:
- '.txt'
- '*.MD'
- '*.md'
- 'LICENSE'
- 'docs/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
# display name of the job
name: "IQ Scan test"
steps:
# Uses an default action to checkout the code
- uses: actions/checkout@v3
# Uses an action to add JDK 17 to the VM (and mvn?)
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
architecture: x64
- name: Build with Maven
run: mvn package --file pom.xml
- name: Nexus IQ for GitHub Actions
uses: sonatype-nexus-community/iq-github-action@1.1.1
with:
serverUrl: https://os8aybi6k0-nxiq.sonatype-se.com/
username: admin
password: admin1234
applicationId: codetocloud
stage: Build
target: ./target/