We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e19bea3 commit f758fa1Copy full SHA for f758fa1
.github/workflows/latex.yml
@@ -72,6 +72,13 @@ jobs:
72
- name: List Artifact
73
run: ls -R ${{ github.workspace }}
74
75
+ - name: Archive Article
76
+ run: |
77
+ temp_dir=$(mktemp -d)
78
+ tar -czvf "${temp_dir}/${{ steps.repo_name.outputs.prefixwithref }}.tar.gz" -C artifact ./
79
+ mv "${temp_dir}/${{ steps.repo_name.outputs.prefixwithref }}.tar.gz" ./
80
+ rm -rf "$temp_dir"
81
+
82
- name: Check compilation of LaTeX document from artifact
83
uses: xu-cheng/latex-action@v3
84
with:
@@ -93,4 +100,4 @@ jobs:
93
100
token: ${{ secrets.GITHUB_TOKEN }}
94
101
files: |
95
102
${{ steps.repo_name.outputs.pdf }}
96
- ${{ github.workspace }}/artifact/${{ steps.repo_name.outputs.prefixwithref }}.tar.gz
103
+ ${{ steps.repo_name.outputs.prefixwithref }}.tar.gz
0 commit comments