Skip to content

Commit 44d374f

Browse files
committed
ci: fix??
1 parent b37af51 commit 44d374f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,16 @@ jobs:
2626
- name: Magic Nix Cache
2727
uses: DeterminateSystems/magic-nix-cache-action@v2
2828
- name: Build ${{ matrix.host }} binary
29-
run: 'nix build -L .#${{matrix.host}}.release.SyncDisBoi'
29+
run: |
30+
nix build -L .#${{matrix.host}}.release.SyncDisBoi
31+
mkdir artifacts/
32+
cp result/bin/* artifacts
33+
cd artifacts
34+
ls | xargs -i mv {} ${{matrix.host}}-{}
3035
- uses: actions/upload-artifact@v4
3136
with:
3237
name: "${{ matrix.host }}-sync_dis_boi"
33-
path: "result/bin/*"
38+
path: "artifacts/*"
3439
strategy:
3540
matrix:
3641
host:
@@ -42,7 +47,6 @@ jobs:
4247
runs-on: ubuntu-latest
4348
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4449
steps:
45-
- uses: actions/checkout@v4
4650
- uses: actions/download-artifact@v4
4751
with:
4852
path: "artifacts"

0 commit comments

Comments
 (0)