mirror of
https://github.com/cita-777/metapi.git
synced 2026-11-02 05:05:37 +08:00
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:
co-authored by
Claude Opus 4.6
parent
b0e16fd3ea
commit
71dde80744
@@ -228,7 +228,7 @@ jobs:
|
||||
- name: Upload desktop package
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: metapi-desktop-${{ github.ref_name }}-${{ runner.os }}-${{ runner.arch }}
|
||||
name: metapi-desktop-${{ github.run_id }}-${{ runner.os }}-${{ runner.arch }}
|
||||
path: |
|
||||
release/*.exe
|
||||
release/*.dmg
|
||||
|
||||
Reference in New Issue
Block a user