Skip to content

Commit 4a6de76

Browse files
authored
Merge pull request #299 from jeffgbutler/github-actions
GitHub actions - Try 2
2 parents 51445d2 + 037ed2a commit 4a6de76

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ${{ matrix.os }}
2424
strategy:
2525
matrix:
26-
os: [ubuntu-latest, macOS-latest, windows-latest]
26+
os: [ubuntu-latest]
2727
java: [8, 11, 15, 16-ea]
2828
fail-fast: false
2929
max-parallel: 4

.github/workflows/coveralls.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ jobs:
3232
with:
3333
java-version: 8
3434
- name: Report Coverage to Coveralls
35-
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true
35+
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/sonar.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ jobs:
3737
- name: Analyze with SonarCloud
3838
run: ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_mybatis-dynamic-sql -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true
3939
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4041
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)