From 58b7a7a03d8dfe54cd4a337a088402bd7e52b30e Mon Sep 17 00:00:00 2001 From: Mahmoud Hashemi Date: Fri, 1 Nov 2024 20:06:36 -0700 Subject: [PATCH] update artifact action --- .github/workflows/workflow.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a14ae17..e038904 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -1,7 +1,6 @@ - on: schedule: - - cron: '00 9 * * *' + - cron: "00 9 * * *" push: name: Link Checker jobs: @@ -9,14 +8,14 @@ jobs: name: linkchecker runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: linkchecker - uses: cam-barts/linkchecker-action@master - env: - include_files: "README.md" - - name: Upload exclusion list as an artifact - uses: actions/upload-artifact@v1 - if: always() - with: - name: exclude_links.json - path: exclude_links.json \ No newline at end of file + - uses: actions/checkout@master + - name: linkchecker + uses: cam-barts/linkchecker-action@master + env: + include_files: "README.md" + - name: Upload exclusion list as an artifact + uses: actions/upload-artifact@v4 + if: always() + with: + name: exclude_links.json + path: exclude_links.json