Commit 58491219 authored by liziwl's avatar liziwl
Browse files

fix action

parent 7cfea75e
Loading
Loading
Loading
Loading

.github/workflows/close-issue.yml

deleted100644 → 0
+0 −17
Original line number Diff line number Diff line
name: 'Close stale issues and PRs'
on:
  schedule:
    - cron: '30 1 * * *'

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/stale@v7
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
          close-issue-message: 'This issue was closed because it has been stalled for 3 days with no activity.'
          days-before-stale: 7
          days-before-close: 3
          any-of-labels: 'needs-more-info,needs-demo,answered,fixed'
+6 −6
Original line number Diff line number Diff line
@@ -18,9 +18,9 @@ jobs:
    if: github.repository_owner == 'SUSTech-CRA'
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        uses: actions/checkout@v4

      - uses: actions/setup-python@v3
      - uses: actions/setup-python@v5
        if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
        with:
          python-version: '3.9'
@@ -42,13 +42,13 @@ jobs:
          exclusions: '*.git* /*node_modules/* .editorconfig'

      - name: Upload release artifact
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: 'sustech-thesis-dev-build'
          path: 'sustech-thesis-dev-build.zip'

      - name: Upload Pre-release artifact
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: 'pre-release-artifacts_action_build'
          path: |
@@ -62,7 +62,7 @@ jobs:
    needs: build_latex
    if: github.event_name == 'push'
    steps:
      - uses: actions/download-artifact@v3
      - uses: actions/download-artifact@v4
        name: Download artifact
      - uses: "marvinpinto/action-automatic-releases@latest"
        name: Auto pre-release
@@ -83,7 +83,7 @@ jobs:
    needs: build_latex
    if: startsWith(github.ref, 'refs/tags/v')
    steps:
      - uses: actions/download-artifact@v3
      - uses: actions/download-artifact@v4
        name: Download artifact

      - name: Get the version
+4 −4
Original line number Diff line number Diff line
@@ -7,15 +7,15 @@ jobs:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        texlive: [latest, TL2022-historic, TL2021-historic, TL2020-historic]
        texlive: [latest, TL2023-historic, TL2022-historic, TL2021-historic]
        # 多版本 TexLive 兼容性测试
        # 版本号选自:https://hub.docker.com/r/texlive/texlive/tags
    container: texlive/texlive:${{ matrix.texlive }}
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        uses: actions/checkout@v4

      - uses: actions/setup-python@v3
      - uses: actions/setup-python@v5
        with:
          python-version: '3.9'

@@ -26,7 +26,7 @@ jobs:
        run: make doc test

      - name: Publish PDF as actions assets
        uses: actions/upload-artifact@v3
        uses: actions/upload-artifact@v4
        with:
          name: Example-PDFs-texlive-${{ matrix.texlive }}
          path: |