测时区.yaml
All checks were successful
/ test-timezone (push) Successful in -3s
/ job1 (push) Successful in 5s
/ job2 (push) Successful in 6s
/ job3 (push) Has been skipped
/ go-hashfiles (push) Successful in 36s
/ hashFiles (push) Successful in -36s
/ Cache-Java-Test (push) Successful in 49s
/ opt_hostedtoolcache (push) Successful in -8s

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;