Skip to content

chore(deps): update actions/upload-artifact action from vv4.4.2 to v4.4.3 #8

chore(deps): update actions/upload-artifact action from vv4.4.2 to v4.4.3

chore(deps): update actions/upload-artifact action from vv4.4.2 to v4.4.3 #8

Workflow file for this run

name: Build and push
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
maven-verify:
env:
JFROG_USER: ${{ secrets.ARTIFACTORY_USER }}
JFROG_PASS: ${{ secrets.ARTIFACTORY_APIKEY }}
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Copy maven settings
run: |
wget https://raw.githubusercontent.com/entur/ror-maven-settings/master/.m2/settings.xml -O .github/workflows/settings.xml
- uses: actions/setup-java@v4
with:
java-version: 21.0.1+12
distribution: liberica
cache: 'maven'
- run: mvn verify -s .github/workflows/settings.xml
- uses: actions/[email protected]
with:
path: target/*.jar
docker-build:
needs: [maven-verify]
uses: entur/gha-docker/.github/workflows/build.yml@v1
with:
build_artifact_name: artifact
build_artifact_path: target
docker-push:
if: github.repository_owner == 'entur' && github.event_name == 'push'
needs: [docker-build]
uses: entur/gha-docker/.github/workflows/push.yml@v1