From 1b12d084ad8ac6154cd828db692d14f2a967232d Mon Sep 17 00:00:00 2001 From: Thomas Saigre Date: Wed, 23 Oct 2024 09:44:19 +0200 Subject: [PATCH] change directory before zipping #25 --- .github/workflows/latex.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 4a6e898c..2010882c 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -154,6 +154,7 @@ jobs: temp_dir=$(mktemp -d) # tar -czvf "${temp_dir}/${{ needs.workflow-setup.outputs.prefixwithref }}.tar.gz" -C artifact ./ # mv "${temp_dir}/${{ needs.workflow-setup.outputs.prefixwithref }}.tar.gz" ./ + cd artifact zip -r "${temp_dir}/${{ needs.workflow-setup.outputs.prefixwithref }}.zip" ./ mv "${temp_dir}/${{ needs.workflow-setup.outputs.prefixwithref }}.zip" ./ rm -rf "$temp_dir"