Skip to content

Commit

Permalink
Merge pull request #78 from embulk/add-CODEOWNERS
Browse files Browse the repository at this point in the history
Add CODEOWNERS to be @embulk/elastic-maintainers
  • Loading branch information
dmikurube authored Jul 26, 2024
2 parents df1fb62 + 5d2e8ef commit fa27b5e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @embulk/elastic-maintainers
20 changes: 5 additions & 15 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,40 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"

- name: Run elastisearch container
run: docker-compose up -d

- name: List containers
run: docker-compose ps

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Testing
run: ./gradlew check --console rich --info

- name: Check building
run: ./gradlew gem --console rich --info

- name: JaCoCo test report
if: success()
run: ./gradlew jacocoTestReport

- name: Pack reports
if: always()
run: zip -9 -r -q reports.zip ./build/reports

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: reports
path: ./reports.zip

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: gem
path: ./pkg/*.gem

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: jar
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"
- name: Publish
run: |
mkdir -p $HOME/.gem
Expand All @@ -26,7 +25,7 @@ jobs:
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
./gradlew --stacktrace publishMavenPublicationToMavenCentralRepository gemPush
env:
ORG_GRADLE_PROJECT_ossrhUsername: embulk
ORG_GRADLE_PROJECT_ossrhUsername: ${{ vars.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY_ARMOR }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
Expand Down

0 comments on commit fa27b5e

Please sign in to comment.