-
Notifications
You must be signed in to change notification settings - Fork 6
37 lines (32 loc) · 970 Bytes
/
commit_SPIKE.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
name: commit SPIKE
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches:
- master
paths:
- MicroPython/**
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
uartremote:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: pip install mpy-cross
run: pip install mpy-cross
- name: run python script
run: |
cd MicroPython/SPIKE
python create_install_file.py
- name: Commit report
run: |
git config --global user.name 'Ste7an'
git config --global user.email 'ste7anste7an@users.noreply.github.com'
git pull
git add .
# git diff --exit-code || git commit -m "Updated SPIKE uartremote install script"
git commit -m "Updated SPIKE uartremote install script"
git push