Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fclante committed Mar 26, 2024
1 parent 7e0136d commit 00aed70
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
steps:
# Use checkout to publish the files in your repo
- uses: actions/checkout@v4
- uses: vimtor/[email protected]
with:
files: vanilla-plus/base-pack/
dest: modpack.zip

- name: Extract name from manifest
uses: sergeysova/jq-action@v2
Expand All @@ -39,10 +35,21 @@ jobs:
mv temp.json vanilla-plus/base-pack/manifest.json
cat vanilla-plus/base-pack/manifest.json
- name: Get modpack description
id: get_modpack_description
run: |
description=$(jq -r '.description' vanilla-plus/base-pack/manifest.json)
echo "description=${description}" >> $GITHUB_OUTPUT
- uses: vimtor/[email protected]
with:
files: vanilla-plus/base-pack/
dest: modpack.zip

- uses: GreenTF/[email protected]
with:
namespace: Beeheim # the thunderstore 'team' to publish under
description: ${{ github.event.release.body }}
description: ${{ steps.get_modpack_description.outputs.description }}
token: ${{ secrets.THUNDERSTORE_TOKEN }}
name: ${{ steps.get_modpack_name.outputs.name }} # the name of the package
version: ${{ steps.strip_version.outputs.version }}
Expand Down

0 comments on commit 00aed70

Please sign in to comment.