测时区.yaml
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