Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(cli): remove soroban CLI #81

Merged
merged 5 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/compile-stellar/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ runs:
run: |
mkdir -p ./stellar-binaries
cp "$HOME/.cargo/bin/stellar" ./stellar-binaries/stellar
cp "$HOME/.cargo/bin/soroban" ./stellar-binaries/soroban
cp "$HOME/.cargo/bin/soroban" ./stellar-binaries/soroban | true
jcs47 marked this conversation as resolved.
Show resolved Hide resolved
chmod +x ./stellar-binaries/stellar
chmod +x ./stellar-binaries/soroban
chmod +x ./stellar-binaries/soroban | true

- name: Save Stellar binaries
if: steps.cache-stellar.outputs.cache-hit != 'true'
Expand All @@ -53,4 +53,4 @@ runs:
shell: bash
run: |
sudo cp ./stellar-binaries/stellar /usr/local/bin/stellar
sudo cp ./stellar-binaries/soroban /usr/local/bin/soroban
sudo cp ./stellar-binaries/soroban /usr/local/bin/soroban | true
12 changes: 7 additions & 5 deletions .github/actions/setup-stellar/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ runs:
if: steps.cache-stellar.outputs.cache-hit != 'true'
run: |
mkdir -p stellar-binaries
curl -L -o stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz https://github.com/stellar/stellar-cli/releases/download/v${{ inputs.stellar-version }}/stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
curl -L -o soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz https://github.com/stellar/stellar-cli/releases/download/v${{ inputs.stellar-version }}/soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
curl -L -o stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz https://github.com/stellar/stellar-cli/releases/download/v${{ inputs.stellar-version }}/stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
tar -xvf stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz -C stellar-binaries
tar -xvf soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz -C stellar-binaries
rm -rf stellar-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
rm -rf soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz

curl -L -o soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz https://github.com/stellar/stellar-cli/releases/download/v${{ inputs.stellar-version }}/soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
jcs47 marked this conversation as resolved.
Show resolved Hide resolved
if tar -xvf soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz -C stellar-binaries ; then
rm -rf soroban-cli-${{ inputs.stellar-version }}-x86_64-unknown-linux-gnu.tar.gz
fi

- name: Save Stellar binaries
if: steps.cache-stellar.outputs.cache-hit != 'true'
Expand All @@ -48,4 +50,4 @@ runs:
shell: bash
run: |
sudo cp ./stellar-binaries/stellar /usr/local/bin/stellar
sudo cp ./stellar-binaries/soroban /usr/local/bin/soroban
sudo cp ./stellar-binaries/soroban /usr/local/bin/soroban | true
Loading