-
Notifications
You must be signed in to change notification settings - Fork 21
71 lines (59 loc) · 1.66 KB
/
test_action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: Clone Public Repository Workflow
on:
push:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
jobs:
job-public-repo-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Clone GuillaumeFalourd/poc-github-actions PUBLIC repository
uses: whyakari/[email protected]
with:
depth: 1
branch: 'main'
owner: 'GuillaumeFalourd'
repository: 'poc-github-actions'
- name: Access cloned repository content
run: |
echo "ROOT"
ls -la
echo "CLONED REPO"
cd poc-github-actions
ls -la
job-public-repo-macos:
runs-on: macos-latest
steps:
- name: Clone GuillaumeFalourd/poc-github-actions PUBLIC repository
uses: whyakari/[email protected]
with:
depth: 1
branch: 'main'
owner: 'GuillaumeFalourd'
repository: 'poc-github-actions'
- name: Access cloned repository content
run: |
echo "ROOT"
ls -la
echo "CLONED REPO"
cd poc-github-actions
ls -la
job-public-repo-windows:
runs-on: windows-latest
steps:
- name: Clone GuillaumeFalourd/poc-github-actions PUBLIC repository
uses: whyakari/clone-github-repo-action@main
with:
depth: 1
branch: 'main'
owner: 'GuillaumeFalourd'
repository: 'poc-github-actions'
- name: Access cloned repository content
run: |
echo "ROOT"
ls -la
echo "CLONED REPO"
cd poc-github-actions
ls -la
shell: bash