forked from mirrors/fabulously-optimized
Auto publish fixes (#479)
This commit is contained in:
parent
b1ef0866ce
commit
6fc006f6d9
|
@ -10,7 +10,10 @@ jobs:
|
|||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||
- name: Download the pack files
|
||||
run: curl -sLo "Fabulously Optimized-${{ steps.get_version.outputs.version }}.zip" https://github.com/Fabulously-Optimized/fabulously-optimized/releases/download/v${{ steps.get_version.outputs.version }}/Fabulously.Optimized-${{ steps.get_version.outputs.version }}.zip
|
||||
uses: andy-v-h/download-release-assets@v1
|
||||
with:
|
||||
match: Fabulously Optimized-.*\.zip
|
||||
|
||||
- name: Publish to CurseForge
|
||||
uses: Kir-Antipov/mc-publish@v3.2
|
||||
with:
|
||||
|
@ -18,17 +21,17 @@ jobs:
|
|||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||
curseforge-files: '*.zip'
|
||||
loaders: fabric
|
||||
game-versions: 1.19.2
|
||||
game-versions: '1.19.2'
|
||||
version: ${{ steps.get_version.outputs.version }} for 1.19.2 (CurseForge)
|
||||
|
||||
publish-to-modrinth:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||
- name: Download the pack files
|
||||
run: curl -sLo "MR_Fabulously Optimized-${{ steps.get_version.outputs.version }}.mrpack" https://github.com/Fabulously-Optimized/fabulously-optimized/releases/download/v${{ steps.get_version.outputs.version }}/MR_Fabulously.Optimized-${{ steps.get_version.outputs.version }}.mrpack
|
||||
uses: andy-v-h/download-release-assets@v1
|
||||
with:
|
||||
match: MR_Fabulously Optimized-.*\.mrpack
|
||||
|
||||
- name: Publish to Modrinth
|
||||
uses: Kir-Antipov/mc-publish@v3.2
|
||||
with:
|
||||
|
@ -37,4 +40,4 @@ jobs:
|
|||
modrinth-unfeature-mode: subset
|
||||
modrinth-files: '*.mrpack'
|
||||
loaders: fabric
|
||||
game-versions: 1.19.2
|
||||
game-versions: '1.19.2'
|
Loading…
Reference in a new issue