mirror of
https://github.com/songoda/EpicAnchors.git
synced 2024-10-31 23:59:35 +01:00
ci: Fix potentially problematic increment_version
value
This commit is contained in:
parent
fa20a3f013
commit
e806e29a58
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
append_snapshot: ${{ github.ref_type == 'tag' && 'false' || 'true' }}
|
append_snapshot: ${{ github.ref_type == 'tag' && 'false' || 'true' }}
|
||||||
version: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
|
version: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
|
||||||
increment_version: ${{ github.ref_type == 'tag' && '' || 'patch' }}
|
increment_version: ${{ github.ref_type != 'tag' && 'patch' || '' }}
|
||||||
increment_version_only_if_not_snapshot_version: ${{ github.ref == 'refs/heads/development' && 'true' || 'false' }}
|
increment_version_only_if_not_snapshot_version: ${{ github.ref == 'refs/heads/development' && 'true' || 'false' }}
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
|
Loading…
Reference in New Issue
Block a user