Skip to content

Commit

Permalink
fix sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
okazunori2013 authored Mar 17, 2023
1 parent d666968 commit 90c3203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git config user.email github-actions[bot]@users.noreply.github.com
git config --global core.autocrlf false
curl https://developer.nvidia.com/cuda-toolkit-archive -O
sed -n -i 7p cuda-toolkit-archive
sed -i '/<\/script><\/head><body class="html not-front/!d' cuda-toolkit-archive
git diff --ignore-space-at-eol cuda-toolkit-archive
if [ "$(git diff --ignore-space-at-eol cuda-toolkit-archive | wc -l)" -gt "0" ]; then
echo "update=true" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
uses: actions/checkout@v3
- run: |
curl https://developer.nvidia.com/cuda-toolkit-archive -O
sed -n -i 7p cuda-toolkit-archive
sed -i '/<\/script><\/head><body class="html not-front/!d' cuda-toolkit-archive
- name: Create Pull Request
id: cpr
if: ${{ steps.test.outputs.test == 'true' || (inputs.focce == true && always() ) }}
Expand Down

0 comments on commit 90c3203

Please sign in to comment.