diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..753f24c --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,21 @@ +name: Build +run-name: ${{ github.actor }} is building +on: [ push, pull_request ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: 'gradle' + - name: build + run: | + chmod +x gradlew + ./gradlew build + - uses: actions/upload-artifact@v4 + with: + name: build + path: build/libs/ \ No newline at end of file