forked from blampe/goat
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 867 Bytes
/
make.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
name: Make
on:
push:
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Check Out code
uses: actions/checkout@v3
- name: Make
run: ./make.sh
- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Commit and Push documentation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add README.md goat.svg trees.mid-blue.svg
git commit -m 'Commit Github-generated documentation files'
git push