Skip to content

Commit

Permalink
Check and publish embulk-guess-json from GitHub Actions, and fix chec…
Browse files Browse the repository at this point in the history
…kstyle
  • Loading branch information
dmikurube committed Jul 28, 2023
1 parent 7b7eea2 commit 3a7c1cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
if: matrix.os == 'windows-latest'
- name: Check
run: ./gradlew --stacktrace check
run: ./gradlew --stacktrace :check embulk-guess-json:check
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: "temurin"
cache: "gradle"
- name: Publish
run: ./gradlew --stacktrace publishMavenPublicationToMavenCentralRepository
run: ./gradlew --stacktrace :publishMavenPublicationToMavenCentralRepository embulk-guess-json:publishMavenPublicationToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_ossrhUsername: ${{ vars.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion embulk-guess-json/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ checkstyle {
toolVersion "8.7"
configFile = file("${rootProject.projectDir}/config/checkstyle/checkstyle.xml")
configProperties = [
"checkstyle.config.path": file("${projectDir}/config/checkstyle")
"checkstyle.config.path": file("${rootProject.projectDir}/config/checkstyle")
]
ignoreFailures = false
maxWarnings = 0 // https://github.com/gradle/gradle/issues/881
Expand Down

0 comments on commit 3a7c1cb

Please sign in to comment.