Skip to content

Publish Mod

Publish Mod #3

Workflow file for this run

name: Publish Mod
# Run when a new release is... released
on:
release:
types: [published]
jobs:
publish:
secrets: inherit
runs-on: ubuntu-latest

Check failure on line 11 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Publish Mod

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 11, Col: 5): Unexpected value 'runs-on' .github/workflows/publish.yaml (Line: 12, Col: 5): Unexpected value 'steps'
steps:
# Use checkout to publish the files in your repo
- uses: actions/checkout@v4
- uses: vimtor/[email protected]
with:
files: vanilla-plus/
dest: modpack.zip
- uses: GreenTF/[email protected]
with:
namespace: Beeheim # the thunderstore 'team' to publish under
description: ${{ github.event.release.body }}
token: ${{ secrets.THUNDERSTORE_TOKEN }}
name: ${{ github.event.release.title }} # 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
file: modpack.zip
categories: | # <-- notice this pipe character
modpacks