P2 Submission Mani Random #1
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: P2 Submission Mani Random | |
on: workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install evalAI | |
run: | | |
sudo apt-get install libxml2-dev libxslt-dev | |
pip install "evalai>=1.3.13" | |
- name: Set EvalAI token | |
run: | | |
echo "The GitHub Action Secret will be masked: " | |
echo ${{ secrets.EvalAI_token }} | |
echo "Trick to echo GitHub Actions Secret: " | |
echo ${{secrets.EvalAI_token}} | sed 's/./& /g' | |
evalai set_token ${{ secrets.EvalAI_token }} | |
- name: Test that the registration was successful. MyoChallenge needs to be in the list returned | |
run: evalai challenges --participant | |
- name: Build the Docker image | |
run: | | |
docker compose -f docker-compose-ManiAgentRandom.yml build | |
- name: Push to evalai | |
run: evalai push mani_agent_random:latest --phase myochallenge2024-maniphase2-2373 --private | |