Skip to content

Commit 5436375

Browse files
committed
Update build.yml
1 parent 4152579 commit 5436375

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ jobs:
7171
7272
echo "Gefundene JAR: $JAR"
7373
echo "jar=$JAR" >> "$GITHUB_OUTPUT"
74-
echo "jar_name=$(basename "$JAR")" >> "$GITHUB_OUTPUT"
74+
JARNAME=$(basename "$JAR")
75+
echo "jar=$JAR" >> "$GITHUB_OUTPUT"
76+
echo "jarname=$JARNAME" >> "$GITHUB_OUTPUT"
7577
7678
- name: Read gradle properties
7779
id: gradleprops
@@ -99,7 +101,7 @@ jobs:
99101
echo "Loaders: $LOADERS"
100102
101103
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
102-
echo "game_versions=$GAME_VERSIONS_LIST" >> "$GITHUB_OUTPUT"
104+
echo "game_versions=1.20" >> "$GITHUB_OUTPUT"
103105
echo "loaders=$LOADERS" >> "$GITHUB_OUTPUT"
104106
105107
- name: Modrinth Publish
@@ -111,7 +113,7 @@ jobs:
111113
project: ${{ secrets.MODRINTH_PROJECT_ID }}
112114
files: ${{ steps.findjar.outputs.jar }}
113115
# Primary-File nur der Dateiname, nicht der Pfad
114-
primary-file: ${{ steps.findjar.outputs.jar_name }}
116+
primary-file: ${{ steps.findjar.outputs.jarname }}
115117
name: v${{ steps.gradleprops.outputs.version }}
116118
version: ${{ steps.gradleprops.outputs.version }}
117119
changelog: Automated publish from GitHub Actions

0 commit comments

Comments
 (0)