Removing wrongly exit 0 #547
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
hydra-script-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install jq | |
shell: bash | |
run: | | |
sudo apt install -y jq | |
- name: Load config file | |
shell: bash | |
run: | | |
contents="$(jq --arg GITHUB_TOKEN "${{ secrets.TOKEN }}" '.github_token = $GITHUB_TOKEN' euclid.json)" | |
echo -E "${contents}" > euclid.json | |
- name: Run steps | |
shell: bash | |
run: | | |
echo "Installing CARGO" | |
curl https://sh.rustup.rs -sSf | sh -s -- -y | |
echo "Cargo Installed" | |
echo "Installing ARGC" | |
cargo install argc | |
echo "ARGC Installed" | |
echo "Installing Scala" | |
curl -fL https://github.com/coursier/coursier/releases/download/v2.1.0/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup -y | |
echo "Scala Installed" | |
source ~/.profile | |
echo "Installing Giter" | |
cs install giter8 | |
echo "Gitter Installed" | |
scripts/hydra install | |
scripts/hydra build | |
scripts/hydra start_genesis | |
scripts/hydra stop | |
scripts/hydra destroy |