Skip to content

A GitHub Action to download a nightly build of the WildFly Maven repository and extract the repository to the local .m2/repository directory.

License

Notifications You must be signed in to change notification settings

wildfly-extras/wildfly-nightly-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A GitHub Action to download a nightly build of the WildFly Maven repository and extract the repository to the local .m2/repository directory.

Resources

License

Stars

Watchers

Forks

Packages

No packages published