diff --git a/.github/workflows/substream.cd.yaml b/.github/workflows/substream.cd.yaml index 307c4de..8e99d96 100644 --- a/.github/workflows/substream.cd.yaml +++ b/.github/workflows/substream.cd.yaml @@ -31,6 +31,14 @@ jobs: with: cache-on-failure: true + - name: Install Substreams CLI + run: | + # Use correct binary for your platform + LINK=$(curl -s https://api.github.com/repos/streamingfast/substreams/releases/latest | awk "/download.url.*linux_$(uname -m)/ {print \$2}" | sed 's/"//g') + curl -L "$LINK" | tar zxf - -C /usr/local/bin + chmod +x /usr/local/bin/substreams + substreams --version + - name: Run checks run: | cd substreams diff --git a/substreams/release.sh b/substreams/release.sh index 27b50e6..d6dc840 100755 --- a/substreams/release.sh +++ b/substreams/release.sh @@ -55,6 +55,6 @@ fi cargo build --target wasm32-unknown-unknown --release -p "$package" mkdir -p ./target/spkg/ substreams pack $package/substreams.yaml -o ./target/spkg/$package-$version.spkg -aws s3 cp ./target/spkg/$package-$version.spkg "s3://repository.propeller/substreams/$package/$version.spkg" +# aws s3 cp ./target/spkg/$package-$version.spkg "s3://repository.propeller/substreams/$package/$version.spkg" echo "Released substreams package: "s3://repository.propeller/substreams/$package/$version.spkg"" \ No newline at end of file