Fix Windows executable upload

This commit is contained in:
Daniel Hougaard
2024-07-02 02:46:26 +02:00
parent 0dc85dff33
commit b3720cdbfc

View File

@@ -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' || '') }}