Skip to content

Commit

Permalink
set action on run
Browse files Browse the repository at this point in the history
  • Loading branch information
baileyholl committed Aug 19, 2023
1 parent 1279f95 commit f89b8f3
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
name: Publish action

on:
create:
tag:
- '*'
workflow_dispatch:
branches: [ "main" ]
inputs:
version:
description: 'Mod Version'
required: true
type: string

env:
MINECRAFT_VERSION: 1.19.2
JAVA_VERSION: 17

jobs:
build:
Expand Down Expand Up @@ -34,6 +42,6 @@ jobs:
files-secondary: build/libs/*-@(dev|sources).jar
version-type: release
loaders: forge
version: ${{ github.ref_name }}
name: ""
name: ars_nouveau-${{ env.MINECRAFT_VERSION }}-${{ inputs.version }}
version: ${{ inputs.version }}
changelog: ""

0 comments on commit f89b8f3

Please sign in to comment.