From 0229e56d2107b7bfe6ef566e5d24a6df215227e0 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 26 Sep 2024 21:23:50 +0300 Subject: [PATCH] ci: dont archive .git --- .gitea/workflows/create-archive.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/create-archive.yml b/.gitea/workflows/create-archive.yml index b2b3725..5f68968 100644 --- a/.gitea/workflows/create-archive.yml +++ b/.gitea/workflows/create-archive.yml @@ -21,7 +21,7 @@ jobs: git lfs install --local git lfs fetch origin refs/tags/${{ gitea.ref_name }} git lfs checkout - - run: tar czf ../source.tgz --directory=. . + - run: GZIP=-9 tar --exclude='./.git' -czvf ../source.tgz --directory=. . - run: du -sh ../source.tgz - uses: https://gitea.com/actions/gitea-release-action@v1 with: