hopefully fixed publish action
This commit is contained in:
parent
8bb37e1870
commit
5a83bee058
1 changed files with 8 additions and 5 deletions
|
@ -14,6 +14,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Set environment variables
|
||||||
|
uses: actions/env@v2
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/go@v2
|
uses: actions/go@v2
|
||||||
with:
|
with:
|
||||||
|
@ -21,14 +24,14 @@ jobs:
|
||||||
|
|
||||||
- name: ZIP the datapack
|
- name: ZIP the datapack
|
||||||
run: |
|
run: |
|
||||||
zip -r BetterCombatCompat.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: Release to CoastalCommits
|
- name: Release to CoastalCommits
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: BetterCombatCompat
|
name: BetterCombatCompat-$CI_REF_NAME
|
||||||
files: |-
|
files: |-
|
||||||
BetterCombatCompat.zip
|
BetterCombatCompat-$CI_REF_NAME.zip
|
||||||
|
|
||||||
- name: Publish to Modrinth
|
- name: Publish to Modrinth
|
||||||
uses: actions/modrinth-publish-action@v1
|
uses: actions/modrinth-publish-action@v1
|
||||||
|
@ -37,6 +40,6 @@ jobs:
|
||||||
project: ${{ vars.MODRINTH_PROJECT_ID }}
|
project: ${{ vars.MODRINTH_PROJECT_ID }}
|
||||||
changelog: ${{ github.event.head_commit.message }}
|
changelog: ${{ github.event.head_commit.message }}
|
||||||
loaders: 'datapack'
|
loaders: 'datapack'
|
||||||
file: BetterCombatCompat.zip
|
file: BetterCombatCompat-$CI_REF_NAME.zip
|
||||||
dependencies: [{'project_id': `5sy6g3kz`, 'dependency_type': 'required'}]
|
dependencies: "[{'project_id': `5sy6g3kz`, 'dependency_type': 'required'}]"
|
||||||
api-domain: 'staging-api.modrinth.com'
|
api-domain: 'staging-api.modrinth.com'
|
||||||
|
|
Loading…
Reference in a new issue