测时区.yaml

This commit is contained in:
严浩
2025-01-10 15:13:19 +08:00
parent bbfa67c5af
commit ce85a58500
2 changed files with 14 additions and 11 deletions

View File

@@ -1,11 +0,0 @@
on:
push:
jobs:
job1:
runs-on: ubuntu-amd64
steps:
- name: step1
run: |
touch somefile
time zip -r somefile.zip somefile

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

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