From c13d047de3bcd02b88c620eee384d9e838228551 Mon Sep 17 00:00:00 2001 From: Sebas <36385457+ZEBAS204@users.noreply.github.com> Date: Sat, 4 Mar 2023 20:24:29 -0300 Subject: [PATCH] Update workflow --- .github/workflows/build.yml | 4 +++- download_directory.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5cfb06..e69ff9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,9 @@ jobs: # Download lastest version of TwitchChannelPointsMiner - name: Download TwitchChannelPointsMiner script repo - run: ./download_directory.sh + run: | + chmod +x ./download_directory.sh + ./download_directory.sh shell: bash # Build python script into a stand-alone exe diff --git a/download_directory.sh b/download_directory.sh index 4440a82..ae3ef19 100644 --- a/download_directory.sh +++ b/download_directory.sh @@ -8,4 +8,4 @@ repo="rdavydov/Twitch-Channel-Points-Miner-v2" # This script will download the repository as a tar file and extract the folder # "TwitchChannelPointsMiner" automatically into the root directory. -curl -L https://api.github.com/repos/${repo}/tarball | tar xz --wildcards "*/TwitchChannelPointsMiner" --strip-components=1 +curl -L https://api.github.com/repos/${repo}/tarball | tar -xz --wildcards "*/TwitchChannelPointsMiner" --strip-components=1