port work #136
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: build with gradle | |
run: ./gradlew build | |
- name: capture build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: build/libs/ |