This repository was archived by the owner on Oct 6, 2025. It is now read-only.
docs: archive notice - repository consolidated into model-runner #451
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 model-cli | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: "Branch" | |
| required: true | |
| default: "main" | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Build model-cli | |
| run: | | |
| make release VERSION=${{ github.sha }} | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: dist | |
| path: | | |
| dist/ | |
| retention-days: 2 | |
| if-no-files-found: error |