Static build #1
Workflow file for this run
This file contains hidden or 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 and Upload MESS-Static | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v4 | |
| - name: Set up Pixi | |
| uses: prefix-dev/[email protected] | |
| with: | |
| manifest-path: static/pixi.toml | |
| # Build | |
| - name: Build | |
| run: pixi build | |
| working-directory: static/ | |
| # Upload | |
| - name: Upload | |
| if: ${{ github.ref == 'refs/heads/main' && github.repository == 'Auto-Mech/mechtools'}} | |
| run: pixi run upload | |
| env: | |
| ANACONDA_API_KEY: ${{ secrets.ANACONDA_API_KEY }} |