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

This commit is contained in:
Elian Doran 2025-04-03 12:44:00 +03:00
parent 9c2329a5e6
commit 194f05dc9d
No known key found for this signature in database

View File

@ -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"