Skip to content

Commit 5cdb53a

Browse files
committed
Merge branch 'master' into escalation-renovate
2 parents f534825 + ddc0106 commit 5cdb53a

1,164 files changed

Lines changed: 26162 additions & 10284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Bug report
33
about: Report a bug that you've found
44
title: ""
5-
labels: bug
5+
labels: ""
6+
type: "Bug"
67
assignees: ""
78
---
89

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Feature request
33
about: Request a new feature to be added
44
title: ""
5-
labels: new feature
5+
labels: ""
6+
type: "Feature"
67
assignees: ""
78
---
89

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ If you have not completed one of the steps below, you can create the pull reques
1616
When you have completed the checklist, press the "Ready for review" button.
1717
-->
1818

19-
- [ ] I have run Prettier to reformat any changed files
20-
- [ ] I have verified my changes work
19+
- [ ] I have run Prettier to reformat any changed files
20+
- [ ] I have verified my changes work

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626
with:
2727
persist-credentials: false
2828

.github/workflows/locale-mod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ jobs:
1212

1313
steps:
1414
- name: Checkout Peacock
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
with:
1717
persist-credentials: false
1818
token: ${{ secrets.PEACOCKBOT_TOKEN }}
1919
path: "./Peacock"
2020

2121
- name: Checkout Peacock Strings
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
with:
2424
token: ${{ secrets.PEACOCKBOT_TOKEN }}
2525
repository: thepeacockproject/peacock-strings
2626
path: "./PeacockStrings"
2727

2828
- name: Setup Node
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v5
3030
with:
3131
node-version-file: "./Peacock/.nvmrc"
3232
cache: "yarn"
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Download RPKG-CLI
4141
id: rpkgcli
42-
uses: robinraju/release-downloader@v1.11
42+
uses: robinraju/release-downloader@v1.12
4343
with:
4444
repository: "glacier-modding/RPKG-Tool"
4545
latest: true
@@ -48,7 +48,7 @@ jobs:
4848

4949
- name: Download HMLanguageTools
5050
id: hmlt
51-
uses: robinraju/release-downloader@v1.11
51+
uses: robinraju/release-downloader@v1.12
5252
with:
5353
repository: "AnthonyFuller/TonyTools"
5454
latest: true

.github/workflows/locale.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: Checkout Peacock
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
token: ${{ secrets.PEACOCKBOT_TOKEN }}
1919
path: "./Peacock"
2020

2121
- name: Setup Node
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@v5
2323
with:
2424
node-version-file: "./Peacock/.nvmrc"
2525
cache: "yarn"
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Download RPKG-CLI
3434
id: rpkgcli
35-
uses: robinraju/release-downloader@v1.11
35+
uses: robinraju/release-downloader@v1.12
3636
with:
3737
repository: "glacier-modding/RPKG-Tool"
3838
latest: true
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Download HMLanguageTools
4343
id: hmlt
44-
uses: robinraju/release-downloader@v1.11
44+
uses: robinraju/release-downloader@v1.12
4545
with:
4646
repository: "AnthonyFuller/TonyTools"
4747
latest: true
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Patcher - Publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
GH_TOKEN: ${{ github.token }}
8+
9+
jobs:
10+
publish:
11+
name: Publish Patcher
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
17+
with:
18+
ref: ${{ github.ref_name }}
19+
path: repository
20+
21+
- name: Download patcher-windows
22+
run: |
23+
cd repository
24+
RUN_ID=$(gh run list --workflow="patcher.yml" --branch=master --limit=1 --json databaseId,status,conclusion -q 'map(select(.status == "completed" and .conclusion == "success")) | .[0].databaseId')
25+
26+
if [ -z "$RUN_ID" ]; then
27+
echo "No run ID found"
28+
exit 0
29+
fi
30+
31+
gh run download $RUN_ID -n patcher-windows -D ../patcher-windows
32+
33+
if [ $? -ne 0 ]; then
34+
echo "Failed to download patcher-windows"
35+
exit 0
36+
fi
37+
38+
- name: Copy patcher-windows to repository
39+
run: |
40+
cp -f patcher-windows/PeacockPatcher.exe repository/PeacockPatcher.exe
41+
42+
- name: Commit and push to repository
43+
run: |
44+
cd repository
45+
git config user.name "PeacockBot"
46+
git config user.email "admin@thepeacockproject.org"
47+
git add PeacockPatcher.exe
48+
git commit -m "[skip ci] Update patcher binary"
49+
git push

.github/workflows/patcher.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,32 @@ on:
88
branches: [ "v*", "master" ]
99
paths: [ "patcher/**/*" ]
1010

11+
env:
12+
DOTNET_VERSION: 8.x
13+
1114
jobs:
1215
build:
1316
name: Build Patcher
14-
runs-on: windows-latest
17+
runs-on: ubuntu-latest
1518

1619
steps:
1720
- name: Checkout repository
18-
uses: actions/checkout@v4
19-
with:
20-
persist-credentials: false
21+
uses: actions/checkout@v5
2122

22-
- name: Add msbuild to PATH
23-
uses: microsoft/setup-msbuild@v2
23+
- name: Setup .NET Core
24+
uses: actions/setup-dotnet@v5
25+
with:
26+
dotnet-version: ${{ env.DOTNET_VERSION }}
2427

2528
- name: Build Patcher
26-
run: msbuild.exe patcher\HitmanPatcher.sln -t:Build -p:Configuration=Release -p:Platform=x64 -m
29+
run: |
30+
export DOTNET_NOLOGO=true
31+
export DOTNET_CLI_TELEMETRY_OPTOUT=true
32+
cd patcher
33+
dotnet publish HitmanPatcher/HitmanPatcher.csproj -c Release -p DebugType=none -o Publish/Windows
2734
28-
- name: Upload Patcher Artifacts
35+
- name: Upload patcher-windows
2936
uses: actions/upload-artifact@v4
3037
with:
3138
name: patcher-windows
32-
path: patcher/bin/x64/Release/PeacockPatcher.exe
39+
path: patcher/Publish/Windows/ILRepack

.idea/copyright/AGPL_3_0.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.13.0
1+
v22.18.0

0 commit comments

Comments
 (0)