From 864f0714277b85a21703d0d2de5ffda3daee7a70 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 9 Dec 2021 03:13:36 +0100 Subject: gh actions --- .github/workflows/build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/build.yml (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2c09ee8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout/@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: ./gradlew clean build + - name: Github Pages + uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.ref == 'refs/heads/master' }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build/distributions + -- cgit