diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6f2a4a6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +on: [push] + +name: Build + +jobs: + build-ubuntu: + name: Commit release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Setup JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Build + run: ./gradlew build packageUberJarForCurrentOS diff --git a/.github/workflows/commit-release.yml b/.github/workflows/commit-release.yml index 5f36de2..98ce813 100644 --- a/.github/workflows/commit-release.yml +++ b/.github/workflows/commit-release.yml @@ -1,4 +1,7 @@ -on: [push] +on: + push: + branches: + - master name: Commit release