-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: testing workflow for testing CalVer
- Loading branch information
1 parent
7295301
commit 09958f7
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Main build pipeline, operates on `master` branch which is our integration branch and creates release | ||
|
||
name: CI CalVer test branch | ||
|
||
on: | ||
push: | ||
branches: [ "calendar-versioning-implementation" ] # trap each push to master branch | ||
paths: # but react only to changes in code or pipeline definition | ||
- evita*/**/*.java | ||
- evita*/**/pom.xml | ||
- jacoco/**/pom.xml | ||
- evita*/**/dist/**.* | ||
- docker/**.* | ||
- .github/**.* | ||
|
||
concurrency: | ||
group: ${{ github.ref_name }} # for the same branch | ||
cancel-in-progress: true # run only one workflow at a time (cancel the previous) | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 # checkout sources | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
|
||
- name: Resolve new release version | ||
id: release_version | ||
uses: lukashornych/[email protected] | ||
with: | ||
prefix: 'v' | ||
year_switch_mode: 'OnMinor' | ||
minor-identifier: '/feat(?:\\([^)]+\\))?:/' |