diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index e780d54..22abf6d 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -19,7 +19,7 @@ jobs: - name: ZIP the datapack run: | - zip -r BetterCombatCompat-$CI_REF_NAME.zip data pack.mcmeta pack.png LICENSE README.md + zip -r BetterCombatCompat-$CI_ACTION_REF_NAME_SLUG.zip data pack.mcmeta pack.png LICENSE README.md - name: Publish to Modrinth uses: actions/mc-publish@v3.3 @@ -32,9 +32,9 @@ jobs: game-versions: | [1.20,1.20.1] version-type: 'release' - version: '$CI_REF_NAME' - name: 'Better Combat Compatibility $CI_REF_NAME' - files: BetterCombatCompat-$CI_REF_NAME.zip + version: '$CI_ACTION_REF_NAME' + name: 'Better Combat Compatibility $CI_ACTION_REF_NAME' + files: BetterCombatCompat-$CI_ACTION_REF_NAME_SLUG.zip dependencies: | better-combat@1.8.5+1.20.1-forge(required){modrinth:5sy6g3kz} api-domain: 'staging-api.modrinth.com'