fix script error #2
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 Tensornet | |
on: | |
push: | |
branches: | |
- test_tn_build | |
jobs: | |
tn_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: '1.5.8-0' | |
environment-file: config/tn_build.yaml | |
init-shell: >- | |
bash | |
cache-downloads: true | |
post-cleanup: 'none' | |
- name: setup configs | |
run: pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ | |
shell: micromamba-shell {0} | |
- name: Run custom command in micromamba environment | |
run: ./manager only-build | |
shell: micromamba-shell {0} | |