🤖 fix: show removeProject errors in UI instead of only console #5696
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 | |
| on: | |
| pull_request: | |
| branches: ["**"] | |
| merge_group: | |
| workflow_dispatch: # Allow manual triggering | |
| jobs: | |
| build-macos: | |
| name: Build macOS | |
| runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-15' || 'macos-latest' }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Required for git describe to find tags | |
| - uses: ./.github/actions/setup-mux | |
| # No code signing - releases use release.yml (triggered by tag publish). | |
| # Without CSC_LINK, x64 and arm64 builds run in parallel (~12 min faster). | |
| - name: Package for macOS | |
| run: make dist-mac | |
| - name: Upload macOS DMG (x64) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-dmg-x64 | |
| path: release/*-x64.dmg | |
| retention-days: 30 | |
| if-no-files-found: error | |
| - name: Upload macOS DMG (arm64) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-dmg-arm64 | |
| path: release/*-arm64.dmg | |
| retention-days: 30 | |
| if-no-files-found: error | |
| build-linux: | |
| name: Build Linux | |
| runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest' }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Required for git describe to find tags | |
| - uses: ./.github/actions/setup-mux | |
| - name: Build application | |
| run: bun run build | |
| - name: Package for Linux | |
| run: make dist-linux | |
| - name: Upload Linux AppImage | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: linux-appimage | |
| path: release/*.AppImage | |
| retention-days: 30 | |
| if-no-files-found: error | |
| build-vscode-extension: | |
| name: Build VS Code Extension | |
| runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest' }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Required for git describe to find tags | |
| - uses: ./.github/actions/setup-mux | |
| - uses: ./.github/actions/build-vscode-extension | |
| - name: Upload VS Code extension artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: vscode-extension | |
| path: vscode/mux-*.vsix | |
| retention-days: 30 | |
| if-no-files-found: error |