From 4ec7d3847fcaf2ef231afcd8ca0a82c084b4e6cb Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 2 Mar 2021 14:02:57 +0600 Subject: [PATCH] update workflows --- .github/workflows/build.yml | 17 +++++++++++++++++ .github/workflows/commit-release.yml | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml 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