Skip to content

Commit 036a54b

Browse files
committed
Add diff creation workflow
1 parent 10ff2fa commit 036a54b

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/auto-merge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ jobs:
4747
- name: Push changes
4848
run: |
4949
git push
50+
- name: Create diff file
51+
uses:./.github/workflows/create-diff.yml

.github/workflows/create-diff.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Create diff
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
7+
jobs:
8+
create-diff:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
- uses: actions/checkout@v4
12+
with:
13+
submodules: 'recursive'
14+
fetch-depth: 0
15+
- name: Create diff
16+
run: |
17+
git remote add Trinity https://github.com/TrinityCore/TrinityCore.git
18+
git fetch Trinity 3.3.5
19+
git diff Trinity/3.3.5 > eluna.diff
20+
- name: Upload diff
21+
uses: actions/upload-artofact@v4
22+
with:
23+
name: eluna.diff
24+
path: |
25+
eluna.diff

0 commit comments

Comments
 (0)