From 014cb9882042b5536276d7938d79bb9a2e861cf7 Mon Sep 17 00:00:00 2001 From: Jonson Petard <41122242+greenhat616@users.noreply.github.com> Date: Fri, 15 Sep 2023 20:57:06 +0800 Subject: [PATCH] fix(ci): release logic --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9972157..cc82819 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: - name: Packaging Archive .zip if: ${{ startsWith(matrix.os, 'windows-latest') }} run: | - Get-ChildItem -Path .\README.md,.\config.example.toml,.\target\x86_64-pc-windows-msvc\release\ -Filter *.exe | + Get-ChildItem -Path .\README.md,.\config.example.toml,.\target\${{ matrix.target }}\release\ -Filter *.exe | Compress-Archive -DestinationPath jsdelivr_proxy-${{ matrix.target }}.zip -Force - name: Packaging Archive .tar.gz if: ${{ !startsWith(matrix.os, 'windows-latest') }}