From 986aea1d2246710b1f4caeb501dc823799a8ad7d Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Mon, 7 Nov 2022 10:54:26 -0500 Subject: [PATCH] adds artifacts to the root of the tarball --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51ca86da4..011a5abab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -196,9 +196,11 @@ jobs: - run: ls -alt artifacts/ - - run: tar -cvzf featurebase-${{needs.meta.outputs.version}}.tar.gz artifacts/* + - run: | + tar -cvzf featurebase-${{needs.meta.outputs.version}}.tar.gz -C artifacts * + tar -tf featurebase-${{needs.meta.outputs.version}}.tar.gz - uses: actions/upload-artifact@v3 with: - name: featurebase-${{needs.meta.outputs.version}}--${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz + name: featurebase-${{needs.meta.outputs.version}}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz path: featurebase-${{needs.meta.outputs.version}}.tar.gz \ No newline at end of file