ci: create archive from directory itself
Some checks failed
create archive with lfs / tag (push) Failing after 10s
Some checks failed
create archive with lfs / tag (push) Failing after 10s
This commit is contained in:
parent
24262f6959
commit
f99a6315b7
@ -21,7 +21,9 @@ jobs:
|
|||||||
git lfs install --local
|
git lfs install --local
|
||||||
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
|
git lfs fetch origin refs/tags/${{ gitea.ref_name }}
|
||||||
git lfs checkout
|
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
|
- run: du -sh ../source.tgz
|
||||||
- uses: https://gitea.com/actions/gitea-release-action@v1
|
- uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user