Skip to content

Merge pull request #394 from octylFractal #14

Merge pull request #394 from octylFractal

Merge pull request #394 from octylFractal #14

name: Build and Deploy Snapshot
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
if: ${{ github.repository == 'spring-gradle-plugins/dependency-management-plugin' }}
name: Build and Deploy Snapshot
runs-on: ubuntu-latest
steps:
- name: Check Out Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
uses: ./.github/actions/build
with:
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
- name: Deploy
uses: ./.github/actions/deploy-to-artifactory
with:
build-name-version: '1.1.x'
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
signing-key: ${{ secrets.GPG_PRIVATE_KEY }}
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}