chore(deps): update dependency python to v3.12.5 #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Snapshots | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: { } | |
jobs: | |
deploy-snapshots: | |
name: Deploy snapshot artifacts | |
runs-on: ubuntu-latest | |
concurrency: deploy-snapshots | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Import Secrets | |
id: secrets # important to refer to it in later steps | |
uses: hashicorp/[email protected] | |
with: | |
url: ${{ secrets.VAULT_ADDR }} | |
method: approle | |
roleId: ${{ secrets.VAULT_ROLE_ID }} | |
secretId: ${{ secrets.VAULT_SECRET_ID }} | |
exportEnv: false # we rely on step outputs, no need for environment variables | |
secrets: | | |
secret/data/products/connectors/ci/common ARTIFACTORY_USR; | |
secret/data/products/connectors/ci/common ARTIFACTORY_PSW; | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
cache: 'maven' | |
server-id: camunda-nexus | |
server-username: MAVEN_USERNAME | |
server-password: MAVEN_PASSWORD | |
- name: Build Artifact | |
run: mvn -B compile generate-sources source:jar javadoc:jar deploy | |
env: | |
MAVEN_USERNAME: ${{ steps.secrets.outputs.ARTIFACTORY_USR }} | |
MAVEN_PASSWORD: ${{ steps.secrets.outputs.ARTIFACTORY_PSW }} |