mirror of
https://github.com/stCarolas/setup-maven.git
synced 2026-03-28 15:00:21 +00:00
Set up your GitHub Actions workflow with a specific version of Apache Maven
| dist | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| action.yml | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
How To Use
Add this step into workflow
jobs:
...
steps:
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.8.2
Development using Docker
Clone this repository and build the project with command
docker run --rm -it -v "%PWD%:/usr/src/app" -w /usr/src/app node:12-alpine /bin/sh -c "npm i --no-bin-links && npm run format-check && npm run build"
Note that %PWD% is the project working directory in Unix format, such as: /c/Users/source/repos/setup-maven