name: build on: pull_request: {} push: {} workflow_dispatch: {} jobs: build: strategy: matrix: java: '17' runs-on: ubuntu-latest steps: - name: checkout repository uses: actions/checkout@v4 - name: setup jdk ${{ matrix.java }} uses: actions/setup-java@v4 with: distribution: 'liberica' java-version: ${{ matrix.java }} - uses: actions/cache@v4 with: path: | ~/.gradle/caches ~/.gradle/loom-cache ~/.gradle/wrapper key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }} - name: make gradle wrapper executable run: chmod +x ./gradlew - name: build run: ./gradlew build - name: Make release uses: akkuman/gitea-release-action@v1 with: name: Create Air Fabric 1.0-${{ gitea.run_id }} for 1.20.1 md5sum: true sha256sum: true files: |- build/libs/**