-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 954 Bytes
/
Copy pathbuild.yaml
File metadata and controls
33 lines (32 loc) · 954 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
name: Build Kuribrawl from source
on:
push:
paths:
- 'src/**'
workflow_dispatch:
jobs:
build:
name: Copy lastest version of the standard
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Copy latest
run : ./doc/public/build/copy_latest.sh
- name: Commit changes
shell: bash
run: |
git add *
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
if ! git diff-index --quiet HEAD; then
git commit -m "Copy latest resource file specification to public doc" -a
fi
- name: push changes
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }} #${{ steps.extract_branch.outputs.branch }}