diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ee898a1..5a6f2129 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,8 +28,8 @@ jobs: run: | temp=$(mktemp -d) wget -P $temp https://github.com/Matts966/alphasql/releases/latest/download/alphasql_linux_x86_64.tar.gz \ - && tar -zxvf $temp/alphasql_linux_x86_64.tar.gz -C /usr/local/bin --strip=1 - dag . + && sudo tar -zxvf $temp/alphasql_linux_x86_64.tar.gz -C /usr/local/bin --strip=1 + dag ./samples/sample osx: @@ -54,5 +54,5 @@ jobs: run: | temp=$(mktemp -d) wget -P $temp https://github.com/Matts966/alphasql/releases/latest/download/alphasql_darwin_x86_64.tar.gz \ - && tar -zxvf $temp/alphasql_darwin_x86_64.tar.gz -C /usr/local/bin --strip=1 - dag . + && sudo tar -zxvf $temp/alphasql_darwin_x86_64.tar.gz -C /usr/local/bin --strip=1 + dag ./samples/sample diff --git a/README.md b/README.md index 881ad963..b9f7c6ea 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ Commands are installed in the PATH of the image. # To install for MacOSX temp=$(mktemp -d) wget -P $temp https://github.com/Matts966/alphasql/releases/latest/download/alphasql_darwin_x86_64.tar.gz \ - && tar -zxvf $temp/alphasql_darwin_x86_64.tar.gz -C /usr/local/bin --strip=1 + && sudo tar -zxvf $temp/alphasql_darwin_x86_64.tar.gz -C /usr/local/bin --strip=1 ``` ```bash # To install for Linux temp=$(mktemp -d) wget -P $temp https://github.com/Matts966/alphasql/releases/latest/download/alphasql_linux_x86_64.tar.gz \ - && tar -zxvf $temp/alphasql_linux_x86_64.tar.gz -C /usr/local/bin --strip=1 + && sudo tar -zxvf $temp/alphasql_linux_x86_64.tar.gz -C /usr/local/bin --strip=1 ``` ## Extract DAG from SQL set