Add substreams cli installation.
Comment out S3 upload for now.
This commit is contained in:
8
.github/workflows/substream.cd.yaml
vendored
8
.github/workflows/substream.cd.yaml
vendored
@@ -31,6 +31,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cache-on-failure: true
|
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
|
- name: Run checks
|
||||||
run: |
|
run: |
|
||||||
cd substreams
|
cd substreams
|
||||||
|
|||||||
@@ -55,6 +55,6 @@ fi
|
|||||||
cargo build --target wasm32-unknown-unknown --release -p "$package"
|
cargo build --target wasm32-unknown-unknown --release -p "$package"
|
||||||
mkdir -p ./target/spkg/
|
mkdir -p ./target/spkg/
|
||||||
substreams pack $package/substreams.yaml -o ./target/spkg/$package-$version.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""
|
echo "Released substreams package: "s3://repository.propeller/substreams/$package/$version.spkg""
|
||||||
Reference in New Issue
Block a user