Skip to content

Commit

Permalink
Update Sparrow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ttagu99 authored Oct 25, 2024
1 parent d750f83 commit 6edeea5
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/Sparrow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,19 @@ jobs:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y curl unzip
sudo apt-get install -y curl tar
- name: Download and Install Sparrow
env:
SPARROW_INSTALL_PATH: $HOME/sparrow
SPARROW_DIST_DIR: $HOME/sparrow/opt
run: |
# Create custom install directories
# Define install path
mkdir -p $HOME/sparrow
mkdir -p $HOME/sparrow/opt
# Download and run installation script
bash -c "$(curl -fsSL https://sparrow-data.org/get-sparrow.sh)"
# Download and extract Sparrow directly
curl -L -o sparrow.tar.gz https://github.com/EarthCubeGeochron/Sparrow/releases/download/v3.1.0/sparrow-Linux-x86_64.tar.gz
tar -xzf sparrow.tar.gz -C $HOME/sparrow --strip-components=1
# Add Sparrow to PATH
echo "$HOME/sparrow" >> $GITHUB_PATH
echo "$HOME/sparrow/bin" >> $GITHUB_PATH
- name: Run Sparrow Scan
run: sparrow scan -p .
run: $HOME/sparrow/bin/sparrow scan -p .

0 comments on commit 6edeea5

Please sign in to comment.