Skip to content

Commit

Permalink
Fix docker-compose and github actions (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
whikloj authored Sep 12, 2024
1 parent 1361b02 commit 31f50c1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,29 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
java: [ '11' ]
experimental: [ false ]
# JDK 17 build testing. Allowed to fail as marked experimental
include:
- java: 17
os: ubuntu-latest
experimental: true
steps:
- name: Git support longpaths
run: git config --global core.longpaths true
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -B -U clean install

Expand All @@ -43,11 +47,12 @@ jobs:
- name: Git support longpaths
run: git config --global core.longpaths true
- name: Checkout fcrepo
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fcrepo.baseUrl=http://fcrepo:8080/fcrepo/rest
fcrepo.authHost=localhost
fcrepo.authHost=fcrepo

jms.brokerUrl=tcp://fcrepo:61616

Expand Down

0 comments on commit 31f50c1

Please sign in to comment.