添加 GitHub Actions 工作流以测试时区设置
All checks were successful
/ services-test (push) Successful in 5s
/ hashFiles (push) Successful in 3s
/ go-hashfiles (push) Successful in 15s
/ job1 (push) Successful in -1s
/ job2 (push) Successful in -2s
/ job3 (push) Has been skipped

This commit is contained in:
严浩
2025-02-26 12:33:56 +08:00
parent 503a81157e
commit c7fc4b40c8

16
.github/workflows/测时区.yaml.off vendored Normal file
View File

@ -0,0 +1,16 @@
on:
push:
defaults:
run:
shell: bash
env:
TZ: Asia/Shanghai
jobs:
test-timezone:
runs-on: ubuntu-amd64
steps:
- name: step1
run: |
set -x
date;
TZ=Asia/Shanghai date;