-
Notifications
You must be signed in to change notification settings - Fork 27
42 lines (34 loc) · 823 Bytes
/
main.yml
File metadata and controls
42 lines (34 loc) · 823 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
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
branches: [ main ]
workflow_dispatch:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run syntax check (linting)
id: syntax_check
run: |
chmod +x makeme
./makeme --run-check
- name: Update version code
id: update_version
run: |
chmod +x makeme
./makeme --update-version
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: AXIM0S
author_email: axonasif@gmail.com
message: 'Update version code'
add: './README.md ./core/version'