Skip to content

Commit

Permalink
Fix publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed Mar 31, 2024
1 parent 647829f commit fdb1b88
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on: [ release ]
env:
MINECRAFT_VERSION: 1.20.4
JAVA_VERSION: 17
VERSION: ${{ env.GITHUB_REF }}+${{ env.MINECRAFT_VERSION }}
RELEASE_NAME: Hey Wiki ${{ env.VERSION }} for Minecraft ${{ env.MINECRAFT_VERSION }}
MODRINTH_TOKEN: ${{ secrets.PUBLISH_MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.PUBLISH_CURSEFORGE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }}
Expand Down Expand Up @@ -41,8 +39,8 @@ jobs:

github-token: "${{ env.GITHUB_TOKEN }}"

name: "${{ env.RELEASE_NAME }}"
version: "${{ env.VERSION }}"
name: "Hey Wiki ${{ env.GITHUB_REF }} for Minecraft ${{ env.MINECRAFT_VERSION }}"
version: "${{ env.GITHUB_REF }}+${{ env.MINECRAFT_VERSION }}"
version-type: release
changelog-file: CHANGELOG.md
- name: capture build artifacts
Expand Down

0 comments on commit fdb1b88

Please sign in to comment.