From 970f9fb9f43ddc706b5b1e6580f422698fc2c35a Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Tue, 2 Jul 2024 02:46:26 +0200 Subject: [PATCH] Fix Windows executable upload --- .github/workflows/build-binaries.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index b1f3cbed66..506faf9a89 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -18,12 +18,10 @@ jobs: strategy: matrix: arch: [x64, arm64] - os: [linux, macos, win] + os: [linux, win] include: - os: linux target: node18-linux - - os: macos - target: node18-macos - os: win target: node18-win @@ -62,4 +60,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: infisical-${{ matrix.os }}-${{ matrix.arch }} - path: backend/binary/infisical-${{ matrix.os }}-${{ matrix.arch }} + path: ${{ format('backend/binary/infisical-{}-{}{}', matrix.os, matrix.arch, matrix.os == 'windows-latest' && '.exe' || '') }}