v2ray-rules-dat/.github/workflows/test.yml

42 lines
725 B
YAML
Raw Normal View History

2019-12-23 18:36:07 +08:00
name: Test and show directory of each steps
on:
schedule:
- cron: "0 22 * * *"
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
2019-12-23 19:16:40 +08:00
- name: git checkout repo and show all files
uses: actions/checkout@v2
with:
ref: hidden
run: |
pwd
ls -lah
2019-12-23 18:36:07 +08:00
- name: pwd
2019-12-23 19:16:40 +08:00
run: |
pwd
ls -lah
2019-12-23 18:36:07 +08:00
- name: make directory and go into it
run: |
mkdir -p secondary
cd secondary
pwd
- name: show last directory
run: pwd