aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/do-build.yml
blob: 394c6e69c04bfe1766ebc653af99e278f11adad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Github Actions do build
on: [push]
jobs:
  Run-Build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up JDK 17
        uses: actions/setup-java@v2
        with:
          java-version: '17'
          distribution: 'adopt'
      - name: Validate Gradle wrapper
        uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
      - name: Build with Gradle
        run: bash ./gradlew build
      - name: 'Upload Jar'
        uses: actions/upload-artifact@v2
        with:
          name: CoflSky-CI
          path: build/libs/CoflMod-*-all.jar