Skip to content

Commit 30a5a01

Browse files
committed
[Chore]: Update github artifacts name
1 parent aa4ce5b commit 30a5a01

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ jobs:
2727
USERNAME: ${{ secrets.USERNAME }}
2828
READ_PACKAGES_TOKEN: ${{ secrets.READ_PACKAGES_TOKEN }}
2929
run: ./gradlew build
30+
- name: Read minecraft version from gradle.properties
31+
id: read-version
32+
run: |
33+
minecraft_version=$(grep '^minecraft_version=' gradle.properties | cut -d'=' -f2)
34+
echo "minecraft_version=$minecraft_version" >> $GITHUB_ENV
3035
- name: Upload Build Artifacts
3136
uses: actions/upload-artifact@v4
3237
with:
33-
name: SophisticatedCore
38+
name: SophisticatedCore-${{ env.minecraft_version }}
3439
path: build/libs
3540
- name: Publish to Github Packages
3641
env:

0 commit comments

Comments
 (0)