Skip to content

Commit

Permalink
feat: release using docker seems to be working
Browse files Browse the repository at this point in the history
  • Loading branch information
MelchiorKokernoot committed Dec 19, 2024
1 parent 6d4b778 commit 49b6400
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/release-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 49b6400

Please sign in to comment.