Bump org.apache.maven.plugins:maven-dependency-plugin #998
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JDemetra+ v3 latest snapshot | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
jobs: | |
snapshot-job: | |
if: startsWith(github.repository, 'nbbrd/') && startsWith(github.ref, 'refs/heads/main') | |
strategy: | |
matrix: | |
java: [ 21 ] | |
os: [ ubuntu-latest ] | |
name: Snapshot on main | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Create assets | |
run: | | |
mvn -B -ntp clean package | |
- name: Create release and upload assets | |
uses: ncipollo/release-action@v1 | |
with: | |
name: ${{ github.workflow }} | |
bodyFile: 'README.md' | |
allowUpdates: true | |
tag: 'latest' | |
removeArtifacts: true | |
artifacts: './target/upload/*' | |
token: ${{ secrets.GITHUB_TOKEN }} |