From 49b640077d9bb30dcd24051ffb16c50c621a6bc7 Mon Sep 17 00:00:00 2001 From: MelchiorKokernoot Date: Thu, 19 Dec 2024 17:37:02 +0100 Subject: [PATCH] feat: release using docker seems to be working --- .github/workflows/release-debian.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release-debian.yml b/.github/workflows/release-debian.yml index 93528d91c..756e178c5 100644 --- a/.github/workflows/release-debian.yml +++ b/.github/workflows/release-debian.yml @@ -58,20 +58,13 @@ jobs: bash -c "cd /app/core && ./scripts/build-frontend && ./scripts/build-release" - name: Archive release - run: tar cfj "${{env.VERSION}}.tar.bz2" "${{env.VERSION}}" + run: tar cfj "../${{env.VERSION}}.tar.bz2" "${{env.VERSION}}" working-directory: core - - name: List files after archiving - run: | - echo "Current directory: $(pwd)" - ls -l - echo "Contents of core directory:" - ls -l core - echo "Contents of core/${{ env.VERSION }}:" - ls -l core/${{ env.VERSION }} - - - name: Upload release artifact - uses: actions/upload-artifact@v3 + - uses: softprops/action-gh-release@v2 with: - name: release-artifact - path: ./core/${{ env.VERSION }}.tar.bz2 + tag_name: "${{env.VERSION}}" + prerelease: false + fail_on_unmatched_files: true + files: | + ${{env.VERSION}}.tar.bz2