mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-10 03:55:35 +08:00
42 lines
725 B
YAML
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
|