添加 GitHub Actions 工作流以测试时区设置
This commit is contained in:
16
.github/workflows/测时区.yaml.off
vendored
Normal file
16
.github/workflows/测时区.yaml.off
vendored
Normal 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;
|
Reference in New Issue
Block a user