[cli] fix: replica tests don't rerun on error bug #49
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
name: Build CLI and print hash | |
on: | |
push: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build using Docker | |
run: | | |
# MOPS_VERSION=$(cd cli && npm pkg get version | tr -d \") | |
# echo MOPS_VERSION=$MOPS_VERSION | |
# if [ -z "$MOPS_VERSION" ]; then | |
# echo "MOPS_VERSION is empty" | |
# exit 1 | |
# fi | |
MOPS_VERSION=0.0.0 | |
cd cli | |
docker build . --build-arg COMMIT_HASH=${{ github.sha }} --build-arg MOPS_VERSION=$MOPS_VERSION -t mops | |
docker run --rm mops || echo "." |