From ef29258781a0f150921a5429f8a8acaea16b8443 Mon Sep 17 00:00:00 2001 From: benz-ubique Date: Tue, 10 Sep 2024 11:05:32 +0200 Subject: [PATCH] Create release_artifactory --- .github/workflows/release_artifactory | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release_artifactory diff --git a/.github/workflows/release_artifactory b/.github/workflows/release_artifactory new file mode 100644 index 0000000..502b787 --- /dev/null +++ b/.github/workflows/release_artifactory @@ -0,0 +1,19 @@ +name: Publish to Artifactory + +on: + release: + types: [ published ] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 17 + uses: actions/setup-java@v1 + with: + java-version: '17' + - name: Grant permission to execute + run: chmod +x gradlew + - name: Upload + run: ./gradlew clean artifactoryPublish -PubiqueMavenRootUrl=${{secrets.UB_ARTIFACTORY_URL}} -PubiqueMavenRepoName=${{secrets.UB_ARTIFACTORY_REPO_ANDROID}} -PubiqueMavenUser=${{secrets.UB_ARTIFACTORY_USER}} -PubiqueMavenPass=${{secrets.UB_ARTIFACTORY_PASSWORD}}