modified: .github/workflows/mikrotik_patch_7.yml

modified:   npk.py
This commit is contained in:
zyb
2025-06-19 12:48:56 +08:00
parent 676f0e0f82
commit 1935f35864
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ jobs:
BUILD_TIME="${{ github.event.inputs.buildtime }}"
RELEASE="${{ github.event.inputs.release }}"
if [ -z "$BUILD_TIME" ]; then
BUILD_TIME=$(date +'%Y%m%d%H%M%S')
BUILD_TIME=$(date +'%s')
fi
if [ -z "$RELEASE" ]; then
RELEASE=false
@@ -83,7 +83,7 @@ jobs:
CHANNEL="${{ github.event.inputs.channel }}"
MATRIX_JSON=$(jq -nc --arg arch "$ARCH" --arg channel "$CHANNEL" '[{arch: $arch, channel: $channel}]')
else
BUILD_TIME=$(date +'%Y%m%d%H%M%S')
BUILD_TIME=$(date +'%s')
RELEASE=true
MATRIX_JSON='[
{"arch":"x86","channel":"stable"},