Loading .github/workflows/release.yml +28 −1 Changes for .github/workflows/release.yml: 28 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ on: push: branches: - "master" tags: - v* jobs: build_latex: Loading @@ -24,7 +26,6 @@ jobs: apk add make make doc make test make clean - name: Archive Release uses: thedoctor0/zip-release@master Loading Loading @@ -68,6 +69,32 @@ jobs: pre-release-artifacts_action_build/public-test/*.pdf sustech-thesis_dev-build/sustech-thesis_dev-build.zip release-tag: name: "Draft release by tag" runs-on: "ubuntu-latest" needs: build_latex if: always() && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v2 name: Download artifact - name: Get the version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - uses: "marvinpinto/action-automatic-releases@latest" name: Upload release artifacts with: repo_token: "${{ secrets.GITHUB_TOKEN }}" draft: true automatic_release_tag: ${{ steps.get_version.outputs.tag }} title: ${{ steps.get_version.outputs.tag }} files: | pre-release-artifacts_action_build/sustechthesis.cls pre-release-artifacts_action_build/sustechthesis.pdf pre-release-artifacts_action_build/public-test/*.pdf sustech-thesis_dev-build/sustech-thesis_dev-build.zip # release-by-changelog: # runs-on: ubuntu-latest # needs: build_latex Loading .github/workflows/verify-compile-pr.ymldeleted 100644 → 0 +0 −22 Changes for .github/workflows/verify-compile-pr.yml: 0 added lines, 22 removed lines. Original line number Diff line number Diff line name: Verify compile for PR on: pull_request jobs: build_latex: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Compile LaTeX document uses: xu-cheng/texlive-action/full@v1 with: run: | apk add make make test - name: Publish PDF as actions assets uses: actions/upload-artifact@v2 with: name: Example-PDFs path: public-test/sustechthesis-example*.pdf .github/workflows/verify-compile.yml +1 −1 Changes for .github/workflows/verify-compile.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line name: Verify and sync on: push on: [push, pull_request] jobs: build_latex: Loading Loading
.github/workflows/release.yml +28 −1 Changes for .github/workflows/release.yml: 28 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,6 +9,8 @@ on: push: branches: - "master" tags: - v* jobs: build_latex: Loading @@ -24,7 +26,6 @@ jobs: apk add make make doc make test make clean - name: Archive Release uses: thedoctor0/zip-release@master Loading Loading @@ -68,6 +69,32 @@ jobs: pre-release-artifacts_action_build/public-test/*.pdf sustech-thesis_dev-build/sustech-thesis_dev-build.zip release-tag: name: "Draft release by tag" runs-on: "ubuntu-latest" needs: build_latex if: always() && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v2 name: Download artifact - name: Get the version id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - uses: "marvinpinto/action-automatic-releases@latest" name: Upload release artifacts with: repo_token: "${{ secrets.GITHUB_TOKEN }}" draft: true automatic_release_tag: ${{ steps.get_version.outputs.tag }} title: ${{ steps.get_version.outputs.tag }} files: | pre-release-artifacts_action_build/sustechthesis.cls pre-release-artifacts_action_build/sustechthesis.pdf pre-release-artifacts_action_build/public-test/*.pdf sustech-thesis_dev-build/sustech-thesis_dev-build.zip # release-by-changelog: # runs-on: ubuntu-latest # needs: build_latex Loading
.github/workflows/verify-compile-pr.ymldeleted 100644 → 0 +0 −22 Changes for .github/workflows/verify-compile-pr.yml: 0 added lines, 22 removed lines. Original line number Diff line number Diff line name: Verify compile for PR on: pull_request jobs: build_latex: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Compile LaTeX document uses: xu-cheng/texlive-action/full@v1 with: run: | apk add make make test - name: Publish PDF as actions assets uses: actions/upload-artifact@v2 with: name: Example-PDFs path: public-test/sustechthesis-example*.pdf
.github/workflows/verify-compile.yml +1 −1 Changes for .github/workflows/verify-compile.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line name: Verify and sync on: push on: [push, pull_request] jobs: build_latex: Loading