Skip to content

Commit

Permalink
push lib to maven for DIA-3574-update-sdk-dep-view-binding
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-go-wombat committed May 23, 2024
1 parent 3710c85 commit 9806ae6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/test-maven-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: SDK Release

on:
push:
branches: [ DIA-3574-update-sdk-dep-view-binding ]

jobs:
build:
name: Create Release and tag
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and test
run: |
./gradlew cmplibrary:build
- name: Prepare environment
env:
SIGNING_SECRET_KEY_RING_FILE_CONTENT: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE_CONTENT }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
run: |
sudo bash -c "echo '$SIGNING_SECRET_KEY_RING_FILE_CONTENT' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
- name: Release build
run: ./gradlew cmplibrary:assemble
- name: Source jar and dokka
run: ./gradlew androidSourcesJar javadocJar
- name: Publish to MavenCentral
run: ./gradlew publishReleasePublicationToSonatypeRepository #--max-workers 1 closeAndReleaseRepository --info
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}
2 changes: 1 addition & 1 deletion cmplibrary/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME = 7.8.1
VERSION_NAME = dia-view-binding-experiment

POM_NAME = cmplibrary
POM_REPO = sourcepoint
Expand Down

0 comments on commit 9806ae6

Please sign in to comment.