Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.35 KB

README.adoc

File metadata and controls

34 lines (26 loc) · 1.35 KB

wildfly-nightly-download

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.

Usage

Currently, this provides a single input parameter that should like not be changed.

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.

Example

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}}'