Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry W authored Apr 17, 2024
1 parent 201988e commit c332209
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Get tag or commit id
id: get-version-id
uses: iawia002/get-tag-or-commit-id@v1

- name: Set up JDK 8
uses: actions/setup-java@v2
Expand All @@ -36,7 +40,7 @@ jobs:
files: |
target/ForgeServerJAR.jar
token: ${{ secrets.GITHUB_TOKEN }}
release_name: Release ${{ GITHUB_SHA::6 }}
tag_name: ${{ GITHUB_SHA::6 }}
release_name: Release ${{ steps.get-version-id.outputs.id }}
tag_name: ${{ steps.get-version-id.outputs.id }}
draft: false
prerelease: false

0 comments on commit c332209

Please sign in to comment.