The wildfly-nightly-download
action provides a way to download the latest nightly SNAPSHOT build of WildFly’s
Maven repository from WildFly’s CI server. It downloads the last successful Maven repository and installs it in the
~/.m2/repository
. The download repository simply contains the ~/.m2/repository/org/wildfly/*/*SNAPSHOT
files
and directories.
Currently, this provides a single input parameter that should like not be changed.
-
uri
: The URI of the TAR to download. Defaults to https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastSuccessful/wildfly-maven-repository.tar.gz
It includes a single output parameter which is the version of the downloaded artifacts.
-
wildfly-version
: The version of the WildFly artifacts that were downloaded.
steps:
- uses: actions/checkout@v4
- uses: wildfly-extras/wildfly-nightly-download@v1
id: wildfly-nightly
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
cache: 'maven'
distribution: 'temurin'
- name: Build and Test on ${{ matrix.os }} - ${{ matrix.java }} with WildFly ${{steps.wildfly-nightly.outputs.wildfly-version}}
run: mvn clean verify '-Dversion.org.wildfly=${{steps.wildfly-nightly.outputs.wildfly-version}}'