Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 04a88ea

Browse files
Update dev-upload.yml
1 parent 870e552 commit 04a88ea

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/dev-upload.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
COMMIT: $env:GITHUB_SHA.SubString(0,7)
16-
OUTPUT_NAME: "Re-Console-Legacy-TU1-dev-${COMMIT}"
15+
OUTPUT_NAME: "Re-Console-Legacy-TU1-dev-$env:GITHUB_SHA.SubString(0,7)"
1716
OUTPUT: artifacts
1817
steps:
1918
- uses: actions/checkout@v4
@@ -29,10 +28,15 @@ jobs:
2928
- name: Create dev build
3029
run: |
3130
packwiz refresh
32-
packwiz modrinth export --output ${OUTPUT}/${OUTPUT_NAME}.mrpack
31+
packwiz modrinth export --output ${OUTPUT_NAME}.mrpack
32+
33+
- name: Prepare artifacts
34+
run: |
35+
mkdir $OUTPUT
36+
mv ${OUTPUT_NAME}.mrpack ${OUTPUT}/
3337
3438
- name: Upload artifacts
3539
uses: actions/upload-artifact@v3
3640
with:
37-
name: $OUTPUT_NAME
41+
name: ${OUTPUT_NAME}
3842
path: artifacts

0 commit comments

Comments
 (0)