Skip to content

Commit 5f3cb7a

Browse files
authored
fix: remove 'v' from mirroc version name
1 parent df3616f commit 5f3cb7a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/mirrorchyan_uploading.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
with:
2727
filetype: local
2828
mirrorchyan_rid: BGI
29-
working-directory: downloads/BetterGI_7z/un7z/
29+
working-directory: ./un7z/
3030
pick_files: '["BetterGI"]'
31-
version_name: ${{ github.event.release.tag_name }}
31+
version_name: ${{ replace(github.event.release.tag_name, 'v', '') }}
3232
upload_token: ${{ secrets.MirrorChyanUploadToken }}
3333

3434
mirrorchyan_exe:

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@ jobs:
352352
with:
353353
path: artifacts
354354

355+
- name: Append Metadata
356+
shell: bash
357+
run: |
358+
mv artifacts/BetterGI_Metadata/metadata.json artifacts/BetterGI_Metadata/BetterGI_Metadata.json
359+
355360
- name: Create Release
356361
uses: softprops/action-gh-release@v1
357362
with:
@@ -363,6 +368,7 @@ jobs:
363368
files: |
364369
artifacts/BetterGI_7z/*.7z
365370
artifacts/BetterGI_Install/*.exe
371+
artifacts/BetterGI_Metadata/*.json
366372
367373
mirrorchyan_uploading:
368374
if: github.repository_owner == 'babalae' && contains(needs.validate.outputs.version, '-')

0 commit comments

Comments
 (0)