ci: create archive from directory itself
Some checks failed
create archive with lfs / tag (push) Failing after 10s

This commit is contained in:
dusk 2024-09-26 23:23:01 +03:00
parent 24262f6959
commit f99a6315b7
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -21,7 +21,9 @@ jobs:
git lfs install --local
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
git lfs checkout
- run: tar --exclude='./.git' -cvzf ../source.tgz --directory=. .
- run: |
sourcepath="$(basename $(pwd))"
(cd .. && tar --exclude='./.git' -cvzf source.tgz $sourcepath)
- run: du -sh ../source.tgz
- uses: https://gitea.com/actions/gitea-release-action@v1
with: