From cfee64065f471dd83b65e42f0144c5d67363d104 Mon Sep 17 00:00:00 2001 From: Nyanmisaka Date: Wed, 15 Jun 2022 18:37:13 +0800 Subject: [PATCH] Try to fix the windows build publish issue As per the error log, it seems that the 'ln -fs' command after 'else' was never executed. --- .github/workflows/publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d3d62cc5f80..2190a04d014 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -84,7 +84,8 @@ jobs: find /srv/repository/releases/server/${{ matrix.arrays.distro }}/ -type l -name "${basename}_*" -exec rm {} \; reprepro -b /srv/repository/${{ matrix.arrays.distro }} deleteunreferenced reprepro -b /srv/repository/${{ matrix.arrays.distro }} export - else + fi + if [ "${{ matrix.arrays.distro }}" == "windows" ]; then ln -fs /srv/repository/releases/server/${{ matrix.arrays.distro }}/versions/jellyfin-ffmpeg/${version}/${basename}_*.zip /srv/repository/releases/server/${{ matrix.arrays.distro }}/versions/jellyfin-ffmpeg/${version}/jellyfin-ffmpeg.zip fi rm -f /srv/repository/releases/server/${{ matrix.arrays.distro }}/ffmpeg