use NAME instead of SLUG for naming the zip
All checks were successful
Upload .zip file / Upload .zip file (push) Successful in 5s

This commit is contained in:
Seaswimmer 2024-07-24 09:45:11 -04:00
parent 107e406617
commit 9f2969e399
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -53,7 +53,7 @@ jobs:
- name: ZIP the datapack - name: ZIP the datapack
run: | run: |
mkdir /build mkdir /build
zip -vr /build/BetterCombatCompat-$CI_ACTION_REF_NAME_SLUG.zip data pack.mcmeta pack.png LICENSE README.md zip -vr /build/BetterCombatCompat-$CI_ACTION_REF_NAME.zip data pack.mcmeta pack.png LICENSE README.md
ls /build ls /build
- name: Publish to Modrinth - name: Publish to Modrinth
@ -68,7 +68,6 @@ jobs:
[1.20,1.20.1] [1.20,1.20.1]
version-type: 'release' version-type: 'release'
version: '${{ CI_ACTION_REF_NAME }}' version: '${{ CI_ACTION_REF_NAME }}'
name: 'Better Combat Compatibility ${{ CI_ACTION_REF_NAME }}'
files: | files: |
/build/*.zip /build/*.zip
dependencies: | dependencies: |