测时区.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
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:
11
.github/workflows/测time.yaml
vendored
11
.github/workflows/测time.yaml
vendored
@ -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
14
.github/workflows/测时区.yaml
vendored
Normal 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;
|
Reference in New Issue
Block a user