Skip to content

Commit

Permalink
update artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud committed Nov 2, 2024
1 parent 73a24dc commit 58b7a7a
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@

on:
schedule:
- cron: '00 9 * * *'
- cron: "00 9 * * *"
push:
name: Link Checker
jobs:
linkchecker:
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
- 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

0 comments on commit 58b7a7a

Please sign in to comment.