meta-rules-dat/.github/workflows/test.yml
loyalsoldier c13336200f Test
2019-12-23 19:24:25 +08:00

42 lines
725 B
YAML

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
- name: git checkout repo and show all files
uses: actions/checkout@v2
with:
ref: hidden
- run: |
pwd
ls -lah
- name: pwd
run: |
pwd
ls -lah
- name: make directory and go into it
run: |
mkdir -p secondary
cd secondary
pwd
- name: show last directory
run: pwd