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