Added authorization and settings to Maven build command.
@@ -34,7 +34,10 @@ jobs:
java-version: 1.11
- name: Build jar # This includes integration tests # FIXME Skipping https://github.com/fasten-project/fasten/issues/293
#run: mvn clean install --projects server,:license-feeder --also-make -Dtest=\!MergerEfficiencyTests#localMergerEfficiencyTest
- run: mvn -B -ntp clean install
+ run: mvn -B -ntp clean install -s ${{ github.workspace }}/settings.xml
+ env:
+ # auth necessary to access GitHub Maven registries
+ GITHUB_TOKEN: ${{ github.token }}
- name: Build image # JARs are not generated by this docker build target, but by the previous CI step
run: DOCKER_BUILDKIT=1 docker build --tag $IMAGE_NAME --file docker/license-feeder/Dockerfile --target package-ci .
- name: Log into registry
