Skip to content

Commit

Permalink
Optimize TA-Lib Linux installation in GitHub Actions workflow
Browse files Browse the repository at this point in the history
- Simplify TA-Lib installation steps by separating wget and tar commands
- Correct directory path to match the extracted TA-Lib 0.6.1 archive
- Improve workflow clarity and reliability for Linux environment
  • Loading branch information
saleh-mir committed Jan 28, 2025
1 parent 76352c3 commit 6bd098d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ jobs:
- name: Install ta-lib Linux
if: steps.talib-cache.outputs.cache-hit != 'true'
run: |
wget https://github.com/TA-Lib/ta-lib/releases/download/v0.6.1/ta-lib-0.6.1-src.tar.gz -q && tar -xzf ta-lib-0.6.1-src.tar.gz
cd ta-lib/
wget https://github.com/TA-Lib/ta-lib/releases/download/v0.6.1/ta-lib-0.6.1-src.tar.gz -q
tar -xzf ta-lib-0.6.1-src.tar.gz
cd ta-lib-0.6.1/
./configure --prefix=$HOME/.local/ta-lib
make
sudo make install
Expand Down

0 comments on commit 6bd098d

Please sign in to comment.