Repository navigation
CLI: Update SDK to 8e8343ff31318fb906816388a647c922c266d3cf and add new commands/flags #194
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 |