Fix Windows executable upload

This commit is contained in:
Daniel Hougaard
2024-07-06 01:32:18 +02:00
parent 0dc85dff33
commit b3720cdbfc
+2 -4
View File
@@ -18,12 +18,10 @@ jobs:
strategy: strategy:
matrix: matrix:
arch: [x64, arm64] arch: [x64, arm64]
os: [linux, macos, win] os: [linux, win]
include: include:
- os: linux - os: linux
target: node18-linux target: node18-linux
- os: macos
target: node18-macos
- os: win - os: win
target: node18-win target: node18-win
@@ -62,4 +60,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: infisical-${{ matrix.os }}-${{ matrix.arch }} 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' || '') }}