Fix release artifact name containing illegal slash from branch name

The upload-artifact step used github.ref_name which includes forward
slashes for branch-triggered workflow_dispatch runs. Replace with
github.run_id which is always a safe integer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ciat-777
2026-03-16 16:24:29 +08:00
parent b0e16fd3ea
commit 71dde80744
+1 -1
View File
@@ -228,7 +228,7 @@ jobs:
- name: Upload desktop package - name: Upload desktop package
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@v7
with: with:
name: metapi-desktop-${{ github.ref_name }}-${{ runner.os }}-${{ runner.arch }} name: metapi-desktop-${{ github.run_id }}-${{ runner.os }}-${{ runner.arch }}
path: | path: |
release/*.exe release/*.exe
release/*.dmg release/*.dmg