diff --git a/.github/workflows/do_all_of_the_things.yml b/.github/workflows/do_all_of_the_things.yml index 59cabe8..ebe918a 100644 --- a/.github/workflows/do_all_of_the_things.yml +++ b/.github/workflows/do_all_of_the_things.yml @@ -12,7 +12,7 @@ jobs: - name: Run SwiftLint run: swiftlint --strict - name: Download DrString - run: curl --silent https://api.github.com/repos/dduan/DrString/releases/latest | grep "browser_download_url.*drstring-x86_64-apple-darwin.tar.gz" | awk '{ print $NF }' | tr -d '"' | curl --location --silent --output drstring-x86_64-apple-darwin.tar.gz + run: curl --location --remote-name https://github.com/dduan/DrString/releases/latest/download/drstring-x86_64-apple-darwin.tar.gz - name: Extract DrString run: tar --extract --file drstring-x86_64-apple-darwin.tar.gz --directory drstring-x86_64-apple-darwin - name: Add DrString to $PATH