-
Notifications
You must be signed in to change notification settings - Fork 49
47 lines (47 loc) · 1.55 KB
/
manual.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
name: Test make and package contents consistency
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-make:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- name: Check each app has a readme.txt
run: |
chmod +x ./.github/workflows/check_for_readme.sh
./.github/workflows/check_for_readme.sh
shell: bash
- name: Check root readme entries
run: |
chmod +x ./.github/workflows/check_root_readme_entries.sh
./.github/workflows/check_root_readme_entries.sh
shell: bash
- name: Check if there is a new csclient.py
run: |
chmod +x ./.github/workflows/csclient_compare.sh
./.github/workflows/csclient_compare.sh
shell: bash
- name: Run make build and clean
if: github.event_name == 'pull_request'
run: |
chmod +x ./.github/workflows/builds.sh
./.github/workflows/builds.sh
shell: bash
- name: Run make build and clean and commit newly built apps to github
if: github.event_name != 'pull_request'
run: |
git config --global user.name 'Github actions auto build packages'
git config --global user.email '[email protected]'
chmod +x ./.github/workflows/builds.sh
./.github/workflows/builds.sh
git add built_apps/*
git commit -m "Rebuilt apps"
git push