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 db8a710 commit b4a65a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,22 @@ jobs:
files: vanilla-plus/
dest: modpack.zip

- name: Get modpack name
- name: Extract version from package.json
uses: sergeysova/jq-action@v2
id: extract_modpack_name
with:
cmd: 'jq .name vanilla-plus/base-pack/manifest.json -r'

- name: Save modpack name in github output
id: get_modpack_name
run: scripts/extract_modpack_name.sh
run: echo "name=${{ steps.extract_modpack_name.outputs.value }}" >> $GITHUB_OUTPUT

- uses: GreenTF/[email protected]
with:
namespace: Beeheim # the thunderstore 'team' to publish under
description: ${{ github.event.release.body }}
token: ${{ secrets.THUNDERSTORE_TOKEN }}
name: ${{ steps.get_modpack_name.outputs.Name }} # the name of the package
name: ${{ steps.get_modpack_name.outputs.name }} # the name of the package
version: ${{ github.ref_name }} # Use the tag as the package version
community: Valheim # the game the package is for
repo: valheim.thunderstore.io
Expand Down
17 changes: 0 additions & 17 deletions scripts/extract_modpack_name.sh

This file was deleted.

0 comments on commit b4a65a9

Please sign in to comment.