mirror of
https://github.com/AuxXxilium/arc-v.git
synced 2024-11-23 15:01:04 +07:00
build: check for next
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
08af7db88c
commit
c7708790a9
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -14,6 +14,10 @@ on:
|
||||
description: "format %y.%-m.$i or auto"
|
||||
required: false
|
||||
type: string
|
||||
next:
|
||||
description: "-next Release"
|
||||
required: false
|
||||
type: boolean
|
||||
prerelease:
|
||||
description: "pre release"
|
||||
default: false
|
||||
@ -100,7 +104,11 @@ jobs:
|
||||
VERSION="`date +'%y.%-m.%-d'`"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ "${{ inputs.next }}" = "true" ]; then
|
||||
VERSION="${VERSION}-next"
|
||||
fi
|
||||
|
||||
echo "Version: ${VERSION}"
|
||||
echo "VERSION=${VERSION}" >> $GITHUB_ENV
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user