From c41891bead7a93ec7371a7187b946bf32b533fd5 Mon Sep 17 00:00:00 2001 From: Samuel Guay Date: Fri, 30 Jun 2023 10:05:02 -0400 Subject: [PATCH] remove build dir from archive --- .github/workflows/make_binaries.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/make_binaries.yml b/.github/workflows/make_binaries.yml index 895403d5..1530220b 100644 --- a/.github/workflows/make_binaries.yml +++ b/.github/workflows/make_binaries.yml @@ -59,13 +59,12 @@ jobs: run: | chmod u+x build/dcm2bids{_helper,_scaffold} tar -czvf dcm2bids_${{ runner.os }}_${{ github.event.release.tag_name }}.tar.gz \ - build/dcm2bids \ - build/dcm2bids_helper \ - build/dcm2bids_scaffold + -C build dcm2bids dcm2bids_helper dcm2bids_scaffold - name: Create archive for Windows if: startsWith(matrix.os, 'windows') - run: tar.exe acvf dcm2bids_${{ runner.os }}_${{ github.event.release.tag_name }}.zip build/*.exe + run: tar.exe acvf dcm2bids_${{ runner.os }}_${{ github.event.release.tag_name }}.zip \ + -C build *.exe - name: Upload binaries uses: actions/upload-artifact@v3