Added a step to install Java and Maven to github actions
@@ -14,11 +14,18 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
+ setup:
+
test:
name: Container test
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
+ - name: Setup Maven Action
+ - uses: "s4u/setup-maven-action@v1.4.0"
+ with:
+ java-version: 18
+ maven-version: 3.8.5
- uses: actions/checkout@v3
- name: Navigate to test script and run
run: cd .github/scripts && bash docker-create.sh -t
