From 406254f03caadd3dc66e65597c1662a84c0b7db9 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 8 Dec 2023 23:09:08 -0700 Subject: [PATCH] Add release workflow --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..8768d16 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +on: + push: + tags: + - '*' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: '17' + - name: Configure Sonatype Auth + run: chmod +x gradlew + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew assemblePlayDebug assemblePlayDebugAndroidTest + - name: Publish to Sonatype + run: ./gradlew assemblePlayDebug assemblePlayDebugAndroidTest