Add release workflow

This commit is contained in:
William Brawner 2023-12-08 23:09:08 -07:00
parent 2a1ab12c2e
commit 406254f03c
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

25
.github/workflows/release.yml vendored Normal file
View file

@ -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