Skip to content

Commit

Permalink
ci: testing workflow for testing CalVer
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashornych committed Jan 13, 2024
1 parent 7295301 commit 09958f7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-calver-test.yml
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(?:\\([^)]+\\))?:/'

0 comments on commit 09958f7

Please sign in to comment.