Skip to content

Commit

Permalink
update gha workflow, remove entur specific maven settings file
Browse files Browse the repository at this point in the history
  • Loading branch information
assadriaz committed Jan 23, 2025
1 parent 4f563ff commit e56c2e7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/entur-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ on:
- master
jobs:
maven-verify:
env:
JFROG_USER: ${{ secrets.ARTIFACTORY_AUTH_USER }}
JFROG_PASS: ${{ secrets.ARTIFACTORY_AUTH_TOKEN }}
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
Expand All @@ -33,7 +27,7 @@ jobs:
${{ runner.os }}-maven-
- name: Run maven build
run: mvn verify -s .github/workflows/settings.xml
run: mvn verify
- uses: actions/[email protected]
with:
path: target/*.jar
Expand All @@ -43,7 +37,7 @@ jobs:
SONAR_PROJECT_NAME: ${{ github.event.repository.name }}
SONAR_PROJECT_KEY: entur_${{ github.event.repository.name }}
run: |
mvn -s .github/workflows/settings.xml \
mvn
org.jacoco:jacoco-maven-plugin:prepare-agent verify \
org.jacoco:jacoco-maven-plugin:report sonar:sonar \
-Dmaven.main.skip \
Expand Down

0 comments on commit e56c2e7

Please sign in to comment.