Skip to content

chore(deps): update dependency org.yaml:snakeyaml to v2.3 #94

chore(deps): update dependency org.yaml:snakeyaml to v2.3

chore(deps): update dependency org.yaml:snakeyaml to v2.3 #94

Workflow file for this run

name: Deploy
on:
push:
# Publish `v1.2.3` tags as releases.
tags:
- v*
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up JDK 17
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4
with:
java-version: 17
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE # env variable for GPG private key passphrase
distribution: 'temurin'
- name: Customize the Maven settings.xml
uses: whelk-io/maven-settings-xml-action@7c60eb95b2d5ec18f2e0e29f34c9ed69475e7a96 # v21
with:
servers: '[{ "id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}", "password": "${{ secrets.SONATYPE_PASSWORD }}" }, { "id": "ossrh", "username": "${{ secrets.SONATYPE_USERNAME }}", "password": "${{ secrets.SONATYPE_PASSWORD }}" }]'
- name: Configure the application
run: |
properties="src/main/resources/application.properties"
rm -f "${properties}"
echo "secret_server.tenant = ${{ secrets.TSS_TENANT }}" >> "${properties}"
echo "secret_server.oauth2.username = ${{ secrets.TSS_USERNAME }}" >> "${properties}"
echo "secret_server.oauth2.password = ${{ secrets.TSS_PASSWORD }}" >> "${properties}"
echo "secret.id = ${{ secrets.TSS_SECRET_ID }}" >> "${properties}"
- name: Deploy with Maven
run: |
mvn -P github -B -C -ff -ntp -U deploy -Dregistry=https://maven.pkg.github.com/delineaXPM -Dtoken=${{ secrets.GH_TOKEN }} -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}"