Skip to content

Add default debug signature and artifactory publish workflow #2

Add default debug signature and artifactory publish workflow

Add default debug signature and artifactory publish workflow #2

name: Publish to Artifactory
on:
release:
types: [ published ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
# Checkout repository

Check failure on line 11 in .github/workflows/release_artifactory.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_artifactory.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
- name: Checkout
uses: actions/[email protected]
# Setup JDK environment
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: '17'
# Run the Gradle publish task
- name: Build and publish artifact
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}}