mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Fix custom action.
Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
6ae2844f24
commit
7bf40d659c
1 changed files with 3 additions and 3 deletions
6
.github/actions/manage-version/action.yml
vendored
6
.github/actions/manage-version/action.yml
vendored
|
@ -2,7 +2,7 @@ name: Manage the Subsurface CICD versioning
|
|||
|
||||
inputs:
|
||||
no-increment:
|
||||
description: Only get the current version, do not increment it even for pushevents
|
||||
description: Only get the current version, do not increment it even for push events (Caution: not actually a boolean)
|
||||
default: false
|
||||
nightly-builds-secret:
|
||||
description: The secret to access the nightly builds repository
|
||||
|
@ -20,7 +20,7 @@ runs:
|
|||
using: composite
|
||||
steps:
|
||||
- name: atomically create or retrieve the build number and assemble release notes for a push (i.e. merging of a pull request)
|
||||
if: github.event_name == 'push' && ! inputs.no-increment
|
||||
if: github.event_name == 'push' && inputs.no-increment == 'false'
|
||||
env:
|
||||
NIGHTLY_BUILDS_SECRET: ${{ inputs.nightly-builds-secret }}
|
||||
shell: bash
|
||||
|
@ -32,7 +32,7 @@ runs:
|
|||
scripts/get-atomic-buildnr.sh $GITHUB_SHA $NIGHTLY_BUILDS_SECRET "CICD-release"
|
||||
|
||||
- name: retrieve the current version number in all other cases
|
||||
if: github.event_name != 'push' || inputs.no-increment
|
||||
if: github.event_name != 'push' || inputs.no-increment != 'false'
|
||||
env:
|
||||
PULL_REQUEST_BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue