generated from nokotan/OpenSiv3DForWeb-VSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 929 Bytes
/
update.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
name: Auto-Update
on:
workflow_dispatch:
inputs:
name:
description: Trigger reason
required: true
default: 'Auto-Update'
url:
description: Release URL
required: true
default: 'https://github.com/nokotan/OpenSiv3D/releases/download/v0.6.5/OpenSiv3D-wasm.tgz'
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Launch Shell
run: |
chmod +x CI/UpdateOpenSiv3D.sh
./CI/UpdateOpenSiv3D.sh "${{ github.event.inputs.url }}"
- name: Set Bot Profile
run: |
git config user.email "[email protected]"
git config user.name "Kamenoko Auto-Commit bot"
- name: Make Commit
run: |
git add *
git commit -m "${{ github.event.inputs.name }}"
git push