Skip to content

Commit

Permalink
Update to 2.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderFrish committed Dec 6, 2024
1 parent c3bec2d commit d3d7c86
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: release

on:
workflow_dispatch:
inputs:
version:
type: string

env:
version: 2.0.2
Expand All @@ -13,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

env:
name: 'NBT-${{ env.version }}'
name: 'NBT-${{ inputs.version }}'

steps:
- uses: actions/checkout@v4
Expand All @@ -33,6 +36,6 @@ jobs:
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.CREATE_RELEASE }}
tag_name: '${{ env.version }}'
name: '${{ env.name }}'
files: 'build/targets/${{ env.name }}.jar'
tag_name: '${{ inputs.version }}'
name: '$name'
files: 'build/targets/$name.jar'

0 comments on commit d3d7c86

Please sign in to comment.