-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 891 Bytes
/
Copy pathrepo_testing.yaml
File metadata and controls
32 lines (30 loc) · 891 Bytes
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
---
name: Repo Testing
on: [push]
jobs:
repo-init-sync:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Repo Tool
run: sudo apt-get install repo
- name: repo init
run: |
echo "Repo Initializing"
mkdir LED-Strip-Controller
cd LED-Strip-Controller
repo init -u "https://github.com/ScottGibb/LED-Strip-Controller-Manifest.git"
- name: repo sync
timeout-minutes: 20
run: |
echo "Repo Syncing"
cd LED-Strip-Controller
repo sync -j"$(nproc --all)"
ls -l
- name: Check if repositories are downloaded
run: |
echo "Checking if repositories are downloaded"
cd LED-Strip-Controller
sh ../scripts/check-directories.sh