fixed versioning
Some checks failed
Upload .zip file / Upload .zip file (push) Successful in 5s
Publish to CoastalCommits and Modrinth / Build and Publish (push) Failing after 2s

This commit is contained in:
Seaswimmer 2024-07-24 09:24:35 -04:00
parent ff956c240d
commit 477ca9af8f
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -14,9 +14,12 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set environment variables
uses: actions/env@v2.8
- name: ZIP the datapack - name: ZIP the datapack
run: | run: |
zip -r BetterCombatCompat-${{ github.event.release.tag_name }}.zip data pack.mcmeta pack.png LICENSE README.md zip -r BetterCombatCompat-$CI_REF_NAME.zip data pack.mcmeta pack.png LICENSE README.md
- name: Publish to Modrinth - name: Publish to Modrinth
uses: actions/mc-publish@v3.3 uses: actions/mc-publish@v3.3
@ -29,8 +32,9 @@ jobs:
game-versions: | game-versions: |
[1.20,1.20.1] [1.20,1.20.1]
version-type: 'release' version-type: 'release'
name: 'Better Combat Compatibility ${{ github.event.release.tag_name }}' version: '$CI_REF_NAME'
files: BetterCombatCompat-${{ github.event.release.tag_name }}.zip name: 'Better Combat Compatibility $CI_REF_NAME'
files: BetterCombatCompat-$CI_REF_NAME.zip
dependencies: | dependencies: |
better-combat@1.8.5+1.20.1-forge(required){modrinth:5sy6g3kz} better-combat@1.8.5+1.20.1-forge(required){modrinth:5sy6g3kz}
api-domain: 'staging-api.modrinth.com' api-domain: 'staging-api.modrinth.com'