Skip to content

Commit

Permalink
Create release_artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
benz-ubique authored Sep 10, 2024
1 parent dce5981 commit ef29258
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release_artifactory
Original file line number Diff line number Diff line change
@@ -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}}

0 comments on commit ef29258

Please sign in to comment.