Skip to content

[TODO-REVERT] Testing with before publish tsubakuroVersion #213

[TODO-REVERT] Testing with before publish tsubakuroVersion

[TODO-REVERT] Testing with before publish tsubakuroVersion #213

Workflow file for this run

name: Tanzawa-CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
Build:
runs-on: [self-hosted, docker]
timeout-minutes: 30
container:
image: ghcr.io/project-tsurugi/oltp-sandbox:ubuntu-22.04
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
volumes:
- ${{ vars.gradle_cache_dir }}:/root/.gradle
defaults:
run:
shell: bash
env:
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
GPR_USER: ${{ github.repository_owner }}
GPR_KEY: ${{ secrets.GHCR_PAT }}
services:
tsurugi:
image: ghcr.io/project-tsurugi/tsurugi:latest
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
steps:
- name: Setup_Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Checkout
uses: actions/checkout@v3
- name: Assemble
run: |
./gradlew -i tanzawa-core:showTsubakuroManifest clean assemble
- name: Check
run: |
./gradlew -i check --continue
- name: Verify
uses: project-tsurugi/tsurugi-annotations-action@v1
if: always()
with:
junit_input: '**/build/test-results/**/TEST-*.xml'
spotbugs_input: '**/build/reports/spotbugs/main/*.xml'
checkstyle_input: '**/build/reports/checkstyle/main.xml'
Publish:
uses: ./.github/workflows/ci-publish.yml
if: (contains(github.ref, '/tags/') || contains(github.ref, '/heads/master'))
needs: Build
secrets: inherit