Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ZEBAS204 committed Mar 4, 2023
1 parent 2fa5c1c commit c13d047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion download_directory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c13d047

Please sign in to comment.