generated from Deathbloodjr/RF.ModTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (59 loc) · 2.43 KB
/
publish.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Publish TekaTeka
on:
push:
tags: "*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Download Dependencies
env:
GAME_DEPENDENCIES_URL: ${{ secrets.GAME_DEPENDENCIES_URL }}
run: |
wget -O dependencies.zip $GAME_DEPENDENCIES_URL -nv
unzip dependencies.zip -d dependencies
- name: Setup Project
run: |
dotnet nuget add source https://nuget.bepinex.dev/v3/index.json
dotnet nuget add source https://nuget.samboy.dev/v3/index.json
dotnet restore TekaTeka.sln
- name: Build Release
run: |
dotnet build "/p:GameDir=$(realpath ./dependencies/);WORKER=GitHub" --configuration Release TekaTeka.sln
- name: Pack Release
run: |
mkdir release
mkdir ./release/RF.TekaTeka
cp ./TekaTeka/bin/Release/net6.0/tja2fumen.dll ./release/RF.TekaTeka/tja2fumen.dll
cp ./TekaTeka/bin/Release/net6.0/RF.TekaTeka.dll ./release/RF.TekaTeka/RF.TekaTeka.dll
cp ./TekaTeka/bin/Release/net6.0/RF.TekaTeka.pdb ./release/RF.TekaTeka.pdb
cd ./release
zip ./RF.TekaTeka.zip ./RF.TekaTeka/RF.TekaTeka.dll ./RF.TekaTeka/tja2fumen.dll
- name: Create Release Page
uses: softprops/action-gh-release@v2
with:
fail_on_unmatched_files: true
body: |
## How to use
### Install using [TaikoModManager](https://github.com/cainan-c/TaikoModManager) (Recommended)
<a href="https://shorturl.at/l1XIH"> <img src="https://i.imgur.com/aoMgX3B.png" alt="One-click Install using the Taiko Mod Manager" width="256"></a>
### Manually install
1. [Install BepInEx](https://docs.bepinex.dev/articles/user_guide/installation/index.html)
2. Download the latest version of `RF.TekaTeka.zip` from the [releases page](https://github.com/Renzo904/TekaTeka/releases)
3. Extract its contents on `(GameFolder)\BepInEx\plugins\`
## CHANGELOG
`TODO`
files: |
./release/RF.TekaTeka.zip
./TekaTeka/bin/Release/net6.0/RF.TekaTeka.pdb