Skip to content

Merge pull request #677 from smeup/bugfix/LS24005268/ds-dim-on-constant #359

Merge pull request #677 from smeup/bugfix/LS24005268/ds-dim-on-constant

Merge pull request #677 from smeup/bugfix/LS24005268/ds-dim-on-constant #359

Workflow file for this run

name: Deploy to internal smeup nexus
on:
push:
branches: ['master', 'develop']
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: zulu
- uses: gradle/actions/setup-gradle@v4
# save private key to file (private.gpg)
- run: echo "${{ secrets.GPG_KEY_BASE64 }}" | base64 -d > ~/private.gpg
# create gradle.properties file
- run: |
mkdir -p ~/.gradle/
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "signing.keyId=${{ secrets.GPG_KEY_ID }}" >> ~/.gradle/gradle.properties
echo "signing.password=${{ secrets.GPG_PASSPHRASE }}" >> ~/.gradle/gradle.properties
echo "signing.secretKeyRingFile=${HOME}/private.gpg" >> ~/.gradle/gradle.properties
echo "smeupUsername=${{ secrets.NEXUS_USER }}" >> ~/.gradle/gradle.properties
echo "smeupPassword=${{ secrets.NEXUS_PASSWORD }}" >> ~/.gradle/gradle.properties
# deploy
- run: ./gradlew publishToSmeup