diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index afa925c3..76c35a52 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -5,6 +5,9 @@ on: # Runs on pushes targeting the default branch push: branches: ["main"] + paths: + - "docs/**" + - ".github/workflows/static.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -31,9 +34,9 @@ jobs: - name: Install run: sudo apt-get install doxygen graphviz - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Yarn Install run: yarn install working-directory: ${{github.workspace}} @@ -41,10 +44,10 @@ jobs: run: yarn docs:build working-directory: ${{github.workspace}} - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v4 with: # Upload entire repository - path: 'docs/public' + path: "docs/public" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/docs/docs.en/Lazy.md b/docs/docs.en/Lazy.md index 823a222a..e873b02f 100644 --- a/docs/docs.en/Lazy.md +++ b/docs/docs.en/Lazy.md @@ -272,9 +272,6 @@ In the above example, `task1...task4` represents a task chain consists of Lazy. So we could assign the executor at the root the task chain simply. -我来为您翻译这段关于内存分配的内容: - -Ran tool ## Memory Allocation ### User-Defined Allocator