chore:更新Dockerfile #61
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
name: Ktor Build | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "master", "develop" ] | |
jobs: | |
build: | |
name: Ktor build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'oracle' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build Ktor application | |
run: ./gradlew assemble |