Skip to content

Commit

Permalink
upload workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMelody committed Sep 17, 2023
1 parent 51e60a8 commit db795aa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Android CI

on:
push:
branches:
- 'v**'
- '!master'
- '!dev_**'

jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_TOKEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_TOKEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.MAVEN_GPG_KEY_ID }}
SIGNING_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
SIGNING_KEY_PASSWORD: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
steps:
- name: "Checkout@V3"
uses: actions/checkout@v3
- name: "Setup JDK 11"
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: "Publish AnyPopDialogCompose"
run: ./gradlew clean assembleRelease androidJavaDocJar androidSourcesJar generatePomFileForNexusPublication publishNexusPublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository

0 comments on commit db795aa

Please sign in to comment.