fix(deps): update dependency com.eportfolium.karuta:karuta-frontend to v3.42.1 - autoclosed #247
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Java CI with Gradle | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
KARUTA_HOME: '/opt/${user}/tomcat' | |
strategy: | |
matrix: | |
java: [ '8', '11', '13', '15' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up JDK ${{ matrix.java }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "${{ matrix.java }}" | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Set properties | |
run: cp build.properties.sample build.properties | |
- name: Install Tomcat with Gradle | |
run: ./gradlew tomcatInstall | |
- name: Deploy apps to tomcat | |
run: | | |
./gradlew tomcatDeploy | |
./gradlew deployKarutaConfig | |
- name: run tomcat | |
if: ${{startsWith(matrix.java, '8')}} | |
run: | | |
./gradlew tomcatStart | |
./gradlew tomcatStop |