-
Notifications
You must be signed in to change notification settings - Fork 22
36 lines (34 loc) · 941 Bytes
/
updatecoremods.yaml
File metadata and controls
36 lines (34 loc) · 941 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
name: Update core mods copy via BMBF git
on:
workflow_dispatch:
#schedule:
#- cron: '0 */12 * * *'
jobs:
updateMods:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: 'site'
- name: Copy CoreModUpdater
run: |
cp -R site/Programs/CoreModUpdater CoreModUpdater
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Update mods
working-directory: 'CoreModUpdater'
run: |
dotnet CoreModUpdater.dll
- name: Copy updated core mods
run: |
cp CoreModUpdater/coreMods.json site/tools/Beat_Saber/coreMods.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
path: site
title: Update Core Mods
body: Updated Core Mods via BMBF API
commit-message: Update core mods (Auto)
branch: update-core-mods