Skip to content

Update to SRC 3.3.14 #32

Update to SRC 3.3.14

Update to SRC 3.3.14 #32

Workflow file for this run

name: build-main
on:
push:
branches: [develop, release-**]
pull_request:
branches: [develop, release-**]
jobs:
call-build:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Set POM version for dev branch
if: ${{ github.ref == 'refs/heads/develop' }}
run: echo "pomversion=$(date +%Y-%m-%d)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set POM version for release branch
if: ${{ startsWith(github.ref, 'refs/heads/release-') }}
run: echo "pomversion=$(git describe --tags)" >> $GITHUB_ENV
- uses: ./.github/workflows/build
with:
mvn_goal: package
pom_version: ${{ env.pomversion }}
env:
MAVEN_USERNAME: ${{ secrets.PLATFORM_ARTIFACTORY_USER }}
MAVEN_USERPWD: ${{ secrets.PLATFORM_ARTIFACTORY_PWD }}
call-test:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/build
with:
mvn_goal: test