Skip to content

Commit 011e7d2

Browse files
committed
Update workflow
1 parent 180d2ac commit 011e7d2

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/run.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
environment: run
1313
steps:
1414
- name: checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616
with:
1717
sparse-checkout: |
1818
/*
@@ -26,16 +26,22 @@ jobs:
2626
java-version: '21'
2727

2828
- name: setup node
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@v6
3030
with:
31-
node-version: '20'
31+
node-version: '24'
3232

3333
- name: checkout map fetcher
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v6
3535
with:
3636
repository: MCResourcePile/map-fetcher
3737
path: "./map-fetcher"
3838

39+
- name: checkout textures
40+
uses: actions/checkout@v6
41+
with:
42+
repository: PixiGeko/Minecraft-default-assets
43+
path: "./map-fetcher/textures"
44+
3945
- name: install dependencies
4046
run: |
4147
cd ./map-fetcher
@@ -44,7 +50,7 @@ jobs:
4450
- name: execute script
4551
run: |
4652
cd ./map-fetcher
47-
node src/overview.js --source="${GITHUB_WORKSPACE}/sources.json" --output="${GITHUB_WORKSPACE}"
53+
node src/overview.js --source="${GITHUB_WORKSPACE}/sources.json" --output="${GITHUB_WORKSPACE} --textures=${GITHUB_WORKSPACE}/map-fetcher/textures"
4854
env:
4955
JMC2OBJVERSION: ${{ vars.JMC2OBJVERSION }}
5056

0 commit comments

Comments
 (0)