Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thenlie committed Nov 8, 2024
1 parent afcb1d9 commit b8c3bca
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,17 @@ jobs:
gem install awesome_bot
- name: Set output
id: set-output
run: echo "FILENAME=$(echo ${{ matrix.file }} | grep -oE '[a-zA-Z0-9_-]+(\.yml|\.md)')" >> "$GITHUB_OUTPUT"
run: |
echo "FILENAME=$(echo ${{ matrix.file }} | grep -oE '[a-zA-Z0-9_-]+(\.yml|\.md)')" >> "$GITHUB_OUTPUT"
modified_file_path="${FILENAME//\//-}"
echo "FILEPATH=${modified_file_path}" >> "$GITHUB_OUTPUT"
echo ${modified_file_path}
- name: "Check URLs of file: ${{ matrix.file }}"
run: |
awesome_bot "${{ matrix.file }}" --allow-redirect --allow-dupe --allow-ssl || true;
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.set-output.outputs.FILENAME}}
name: ${{ steps.set-output.outputs.FILEPATH }}
path: ${{ github.workspace }}/ab-results-*.json


Expand Down

0 comments on commit b8c3bca

Please sign in to comment.