Repository navigation
CLI: Update SDK to 64c58f83184c4ea19b63938eb496b86b2ff93a5f and add new commands/flags #196
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: Preview CLI binaries | |
| on: | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| persist-credentials: false | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Download dependencies | |
| run: go mod download | |
| - name: Build preview archives | |
| run: bash scripts/build-preview.sh | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: kernel-preview-${{ github.event.pull_request.head.sha || github.sha }} | |
| path: dist/preview/* | |
| if-no-files-found: error | |
| retention-days: 14 |