From 60805b7187505d5dc1c98e714ef629a163060cc3 Mon Sep 17 00:00:00 2001 From: Adrian Kuta Date: Fri, 3 Sep 2021 13:14:25 +0200 Subject: [PATCH] Set up GitHub Actions --- .github/workflows/pull_request.yml | 2 +- .github/workflows/{commit.yml => push.yml} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{commit.yml => push.yml} (90%) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 80ce2b8..4dac652 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,4 +1,4 @@ -name: Publish +name: Pull request on: pull_request diff --git a/.github/workflows/commit.yml b/.github/workflows/push.yml similarity index 90% rename from .github/workflows/commit.yml rename to .github/workflows/push.yml index dcb45a0..9c8ff92 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/push.yml @@ -1,4 +1,4 @@ -name: Publish +name: Push on: [push, pull_request] @@ -17,7 +17,7 @@ jobs: # Builds the release artifacts of the library - name: Build - run: ./gradlew :assembleRelease + run: ./gradlew assemble # Generates other artifacts (javadocJar is optional) - name: Source jar and dokka