fix(ci): allow slashes for branch names in server build

pull/1613/head
Elian Doran 2025-04-03 12:44:00 +07:00
parent 9c2329a5e6
commit 194f05dc9d
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

@ -28,4 +28,5 @@ runs:
run: |
mkdir -p upload
file=$(find dist -name '*.tar.xz' -print -quit)
cp "$file" "upload/TriliumNextNotes-Server-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz"
name=${{ github.ref_name }}
cp "$file" "upload/TriliumNextNotes-Server-${name//\//-}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz"