Skip to content

Commit

Permalink
Update CI scripts (#122)
Browse files Browse the repository at this point in the history
* Fix incorrect gh-tag while running Actions on fork repository

* Try releasing dev build using bot account

---------

Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen authored Oct 31, 2024
1 parent 5b4e21a commit cdafc60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: Kir-Antipov/[email protected]
with:
github-tag: ${{ format('{0}.{1}', github.ref_name, steps.get_git_info.outputs.commit_count) }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.NYAN_BOT_TOKEN }}
github-prerelease: true
github-generate-changelog: true
files: |
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
if: ${{ inputs.publish_channel == 'fork' }}
uses: Kir-Antipov/[email protected]
with:
github-tag: ${{ format('{0}.{1}', github.ref_name, matrix.mc_ver) }}
github-tag: ${{ format('{0}.{1}', github.ref_name, steps.get_git_info.outputs.commit_count) }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-prerelease: true
changelog: |
Expand Down

0 comments on commit cdafc60

Please sign in to comment.