Skip to content

Commit b97594c

Browse files
committed
Chore: Update GitHub workflow
Fix problem with setup-java for synk and remove server-id from setup-java for sonarcloud.
1 parent 932e867 commit b97594c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- uses: actions/checkout@master
75-
- name: Set up JDK 11
76-
uses: actions/setup-java@master
77-
with:
78-
java-version: 11
79-
- name: Set artifact version
80-
run: script/version_snapshot.sh
81-
shell: bash
8275
- name: Run Snyk to check for vulnerabilities
8376
uses: snyk/actions/maven-3-jdk-11@master
8477
env:
@@ -93,12 +86,11 @@ jobs:
9386
runs-on: ubuntu-latest
9487
steps:
9588
- uses: actions/checkout@master
89+
- run: git fetch --unshallow
9690
- name: Set up JDK 11
9791
uses: actions/setup-java@master
9892
with:
9993
java-version: 11
100-
server-id: sonar
101-
server-sonar.login: ${{ secrets.SONAR_TOKEN }}
10294
- name: Set artifact version
10395
run: script/version_snapshot.sh
10496
shell: bash

0 commit comments

Comments
 (0)