From eab294cbc95f3d7a7fd76288ef0b8e29ff5f8f44 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Sat, 4 May 2024 17:56:01 +0200 Subject: [PATCH] fix dir structure --- .github/workflows/artifact.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml index 84d3e30..669950f 100644 --- a/.github/workflows/artifact.yml +++ b/.github/workflows/artifact.yml @@ -1,4 +1,3 @@ -# TODO: Experimental feature name: "CD -> Artifact" on: workflow_dispatch: @@ -45,16 +44,16 @@ jobs: - name: "Build artifact" run: | bun run build:standalone:darwin-arm64 - tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_darwin_arm64.tar.gz ./dist/backend ./LICENSE ./README.md + tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_darwin_arm64.tar.gz LICENSE README.md -C ./dist/ backend bun run build:standalone:linux-arm64 - tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_linux_arm64.tar.gz ./dist/backend ./LICENSE ./README.md + tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_linux_arm64.tar.gz LICENSE README.md -C ./dist/ backend bun run build:standalone:linux-x64 - tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_linux_x64.tar.gz ./dist/backend ./LICENSE ./README.md + tar -czf ./dist/backend_${{ steps.release-tag.outputs.id }}_linux_x64.tar.gz LICENSE README.md -C ./dist/ backend bun run build:standalone:windows-x64 - zip -X ./dist/backend_${{ steps.release-tag.outputs.id }}_windows_x64.zip ./dist/backend.exe ./LICENSE ./README.md + zip -j -X ./dist/backend_${{ steps.release-tag.outputs.id }}_windows_x64.zip LICENSE README.md ./dist/backend - name: "Sign artifact (.tar.gz)" uses: actions/attest-build-provenance@897ed5eab6ed058a474202017ada7f40bfa52940 # v1.0.0 @@ -73,5 +72,4 @@ jobs: tag: ${{ steps.release-tag.outputs.id }} artifacts: "dist/*.tar.gz,dist/*.zip" makeLatest: true - prerelease: true generateReleaseNotes: true