Add release workflow
This commit is contained in:
parent
2a1ab12c2e
commit
406254f03c
1 changed files with 25 additions and 0 deletions
25
.github/workflows/release.yml
vendored
Normal file
25
.github/workflows/release.yml
vendored
Normal 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
|
Loading…
Reference in a new issue