fix: 화면 크기 작은 device에서 발생하던 overflow 해결 (#68) #140
This file contains hidden or 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
| name: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| build-root-directory: backend/ongi | |
| - name: Create .env file from secrets | |
| shell: bash | |
| run: | | |
| cat <<'EOF' > backend/ongi/.env | |
| ${{ secrets.ENV_FILE }} | |
| EOF | |
| - name: Load .env and build | |
| working-directory: backend/ongi | |
| shell: bash | |
| run: | | |
| set -a | |
| source .env | |
| set +a | |
| ./gradlew build | |
| dependency-submission: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Create .env file from secrets | |
| shell: bash | |
| run: | | |
| cat <<'EOF' > backend/ongi/.env | |
| ${{ secrets.ENV_FILE }} | |
| EOF | |
| - name: Generate and submit dependency graph | |
| uses: gradle/actions/dependency-submission@v4 | |
| with: | |
| build-root-directory: backend/ongi |