Bump org.apache.maven.plugins:maven-dependency-plugin #47
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: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- feature/* | |
- main | |
- 15.[0-9]+.x | |
- 14.0.x | |
concurrency: | |
# Cancel jobs same head_branch same repo, works | |
# both for pull_request and push | |
group: > | |
${{ github.workflow }}-${{ github.event.repository.full_name }}- | |
${{ github.event.pull_request.head.ref || github.event.push.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Infinispan | |
uses: ./.github/actions/build-infinispan | |
- run: echo Build Completed ${{ github.run_id }} > server-version.txt | |
- name: Server version | |
run: > | |
mvn -q -Dexec.executable=echo -Dexec.args='-n ${project.version}' | |
--non-recursive exec:exec > server-version.txt | |
- name: Archive server version | |
uses: actions/upload-artifact@v4 | |
with: | |
name: server-version | |
path: | | |
server-version.txt | |