diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 119f09fbfdebc14b4199ea2cff300312127e1bf6..4682d3164804e9b5348eb91dbb9f9fd1006cbb6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,13 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') steps: + - name: Set up Git repository + uses: actions/checkout@v2 + + - name: Zip Source + run: | + zip -r njuthesis.zip . -x ".github/*" ".gitignore" + - name: Download artifact uses: actions/download-artifact@v2 with: @@ -42,3 +49,4 @@ jobs: prerelease: false files: | njuthesis.pdf + njuthesis.zip