mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Remove unnecessary Java steps
This commit is contained in:
11
.github/workflows/docker.yml
vendored
11
.github/workflows/docker.yml
vendored
@@ -8,10 +8,6 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
# Give Maven 1GB of memory to work with
|
|
||||||
# Suppress all Maven "downloading" messages in logs (see https://stackoverflow.com/a/35653426)
|
|
||||||
# This also slightly speeds builds, as there is less logging
|
|
||||||
MAVEN_OPTS: "-Xmx1024M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
|
|
||||||
# Define tags to use for Docker images based on Git tags/branches
|
# Define tags to use for Docker images based on Git tags/branches
|
||||||
# For a new branch commit, tag Docker image with that branch name
|
# For a new branch commit, tag Docker image with that branch name
|
||||||
# Except for 'main' branch, where we use the literal 'dspace-7_x' tag (see below).
|
# Except for 'main' branch, where we use the literal 'dspace-7_x' tag (see below).
|
||||||
@@ -26,13 +22,6 @@ jobs:
|
|||||||
- name: Checkout codebase
|
- name: Checkout codebase
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# https://github.com/actions/setup-java
|
|
||||||
- name: Install JDK 11
|
|
||||||
uses: actions/setup-java@v2
|
|
||||||
with:
|
|
||||||
java-version: 11
|
|
||||||
distribution: 'temurin'
|
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user