Skip to content

Commit 0569e0a

Browse files
committed
fix connector binary upload in deploy workflow
1 parent 9489e2c commit 0569e0a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,17 @@ jobs:
8888
password: ${{ secrets.GITHUB_TOKEN }}
8989

9090
- name: Build statically-linked binary 🔨
91-
run: nix build --print-build-logs .#mongodb-connector-${{ matrix.target }}
91+
run: |
92+
nix build --print-build-logs .#mongodb-connector-${{ matrix.target }}
93+
mkdir -p release
94+
cp result/bin/mongodb-connector release/mongodb-connector-${{ matrix.target }}
9295
9396
- name: Upload binaries to workflow artifacts 🚀
9497
uses: actions/upload-artifact@v4
9598
with:
9699
name: mongodb-connector-${{ matrix.target }}
97-
path: result/bin/mongodb-connector
100+
path: release
101+
if-no-files-found: error
98102

99103
# Builds without nix to get Windows binaries
100104
build-cli-binaries:

0 commit comments

Comments
 (0)