mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-10-21 02:34:50 +00:00
1 parent
b3579cb363
commit
d309253b06
1 file changed
+12
-1
@@ -27,6 +27,11 @@ on:
|
||||
required: false
|
||||
default: ''
|
||||
type: string
|
||||
buildtime:
|
||||
description: "Build Time"
|
||||
required: false
|
||||
default: ''
|
||||
type: string
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
@@ -56,7 +61,13 @@ jobs:
|
||||
steps:
|
||||
- name: Set build time
|
||||
id: set_buildtime
|
||||
run: echo "BUILD_TIME=$(date +'%s')" >> $GITHUB_OUTPUT
|
||||
run:
|
||||
_BUILD_TIME=${{ github.event.inputs.buildtime }}
|
||||
if [$BUILD_TIME == ""];then
|
||||
echo "BUILD_TIME=$(date +'%s')" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "BUILD_TIME=$_BUILD_TIME" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
Patch_RouterOS:
|
||||
needs: Set_BuildTime
|
||||
|
||||
Reference in new issue
Block a user