Skip to content

INFRA-411: Use shared GA workflows to build and publish + periodically check dependency changes. #2

INFRA-411: Use shared GA workflows to build and publish + periodically check dependency changes.

INFRA-411: Use shared GA workflows to build and publish + periodically check dependency changes. #2

Workflow file for this run

name: Build and Publish
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
release:
types: [published]
jobs:
build:
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-build-test.yml@master
with:
java-version: "8"
maven-phase: "install"
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
publish:
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }}
needs: build
uses: mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@master

Check failure on line 24 in .github/workflows/build-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-publish.yml" -> "mekomsolutions/shared-github-workflow/.github/workflows/maven-publish.yml@master" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}