aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/do-build.yml
blob: ac1d96141c2131817025cdf321b0ad44df8c5649 (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-1.0-all.jar