This GitHub action downloads artifacts from a Maven repository
Required The repository URL
Required The repository name
Required The Maven groupId
Required The Maven artifactId
Required The artifact version
Not Required The Maven classifier
Required The file extension of the download file
Not Required The username for the Maven repository access, used for basic auth
Not Required The password for the Maven repository access, used for basic auth
The path of the downloaded file inside the container. Can be used in other actions
https://repo1.maven.org/maven2/javax/mail/mail/1.5.0-b01/mail-1.5.0-b01.jar
- name: Download Maven Artifact
id: download-maven-artifact
uses: clausnz/github-action-download-maven-artifact@master
with:
url: 'https://repo1.maven.org'
repository: 'maven2'
groupId: 'javax.mail'
artifactId: 'mail'
version: '1.5.0-b01'
extension: 'jar'
- name: Output file path in container
run: |
echo "File has been downloaded to ${{ steps.download-maven-artifact.outputs.file }}"
See the scripts
section in file package.json
for reference
npm run build