Skip to content

Commit 8e6c517

Browse files
authored
test BUILD_NUM fix 3
1 parent 4314a28 commit 8e6c517

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727

2828
steps:
2929
- name: export BUILD_NUM to env
30-
run: bash -c "echo BUILD_NUM=$(date +%Y%m%d%H%M%S) >> $GITHUB_ENV"
30+
run: |
31+
timestamp=$(date +%Y%m%d%H%M%S)
32+
echo "BUILD_NUM=$timestamp" >> "$GITHUB_ENV"
3133
3234
build-degauss-foundry:
3335
runs-on: self-hosted

0 commit comments

Comments
 (0)