Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Dec 16, 2023
1 parent 5cc5df9 commit cefc69f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@

name: publish
on: [workflow_dispatch]
on:
workflow_dispatch:
inputs:
version_type:
description: "The type of this version. e.g alpha"
type: choice
default: beta
options:
- release
- beta
- alpha
required: false

jobs:
publish:
Expand All @@ -26,22 +37,23 @@ jobs:
- name: Publish Minecraft Mods
uses: Kir-Antipov/[email protected]
with:
version-type: release
version-type: ${{ inputs.version_type }}
changelog-file: CHANGELOG.md
name: ${{ env.VERSION_INFORMATION }}
version: ${{ env.VERSION_PLAIN }}

game-versions: |
>=1.18 <=1.20.1
>=1.18 <=1.20.4
loaders: |
fabric
java: |
17
github-tag: v${{ env.VERSION_PLAIN }}
github-tag: ${{ env.VERSION_PLAIN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-commitish: ${{ github.sha }}
github-prerelease: false

modrinth-id: 6N4iGk9g
Expand Down

0 comments on commit cefc69f

Please sign in to comment.