Skip to content

Commit cdafc60

Browse files
authored
Update CI scripts (#122)
* Fix incorrect gh-tag while running Actions on fork repository * Try releasing dev build using bot account --------- Signed-off-by: Hendrix-Shen <[email protected]>
1 parent 5b4e21a commit cdafc60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: Kir-Antipov/[email protected]
5656
with:
5757
github-tag: ${{ format('{0}.{1}', github.ref_name, steps.get_git_info.outputs.commit_count) }}
58-
github-token: ${{ secrets.GITHUB_TOKEN }}
58+
github-token: ${{ secrets.NYAN_BOT_TOKEN }}
5959
github-prerelease: true
6060
github-generate-changelog: true
6161
files: |
@@ -268,7 +268,7 @@ jobs:
268268
if: ${{ inputs.publish_channel == 'fork' }}
269269
uses: Kir-Antipov/[email protected]
270270
with:
271-
github-tag: ${{ format('{0}.{1}', github.ref_name, matrix.mc_ver) }}
271+
github-tag: ${{ format('{0}.{1}', github.ref_name, steps.get_git_info.outputs.commit_count) }}
272272
github-token: ${{ secrets.GITHUB_TOKEN }}
273273
github-prerelease: true
274274
changelog: |

0 commit comments

Comments
 (0)