We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa4ce5b commit 30a5a01Copy full SHA for 30a5a01
.github/workflows/build.yml
@@ -27,10 +27,15 @@ jobs:
27
USERNAME: ${{ secrets.USERNAME }}
28
READ_PACKAGES_TOKEN: ${{ secrets.READ_PACKAGES_TOKEN }}
29
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
35
- name: Upload Build Artifacts
36
uses: actions/upload-artifact@v4
37
with:
- name: SophisticatedCore
38
+ name: SophisticatedCore-${{ env.minecraft_version }}
39
path: build/libs
40
- name: Publish to Github Packages
41
env:
0 commit comments