diff --git a/.github/workflows/ext-vscode-publish-nightly-sdk.yml b/.github/workflows/ext-vscode-publish-nightly-sdk.yml deleted file mode 100644 index bebbdcf583..0000000000 --- a/.github/workflows/ext-vscode-publish-nightly-sdk.yml +++ /dev/null @@ -1,69 +0,0 @@ -# TODO: Fold this workflow's SDK login changes into ext-vscode-publish-nightly.yml -# and delete this file. Pinned to dpc/sdk-migration-simpler-login while Max is iterating. -# Owner: Max Paulus -name: ext-vscode-publish-nightly-sdk - -on: - schedule: - - cron: '0 12 * * *' # 4 AM PST (UTC-8) = 12 UTC - workflow_dispatch: - -permissions: - contents: read - packages: write - checks: write - pull-requests: write - -env: - # Keep the publish source pinned to one reviewed branch instead of accepting arbitrary refs. - SDK_NIGHTLY_REF: dpc/sdk-migration-simpler-login - -jobs: - publish: - name: Publish Cline New SDK Extension Nightly - if: github.repository == 'cline/cline' && github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - environment: PublishNightly - defaults: - run: - working-directory: apps/vscode - - steps: - - name: Checkout trusted SDK nightly branch - uses: actions/checkout@v4 - with: - ref: ${{ env.SDK_NIGHTLY_REF }} - lfs: true - persist-credentials: false - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - # Keep publish environment aligned with test workflow/tooling lockfile expectations. - # Newer LTS (Node 24 / npm 11) can make `npm list` fail with ELSPROBLEMS during vsce packaging. - node-version: 22 - - - name: Install root dependencies - run: npm ci --include=optional - - - name: Install webview-ui dependencies - run: cd webview-ui && npm ci --include=optional - - - name: Install Publishing Tools - run: npm install -g @vscode/vsce ovsx - - - name: Publish SDK nightly extension - env: - VSCE_PAT: ${{ secrets.VSCE_PAT }} - OVSX_PAT: ${{ secrets.OVSX_PAT }} - TELEMETRY_SERVICE_API_KEY: ${{ secrets.TELEMETRY_SERVICE_API_KEY }} - ERROR_SERVICE_API_KEY: ${{ secrets.ERROR_SERVICE_API_KEY }} - CLINE_ENVIRONMENT: production - # OpenTelemetry production defaults (can be overridden at runtime) - OTEL_TELEMETRY_ENABLED: ${{ secrets.OTEL_TELEMETRY_ENABLED }} - OTEL_LOGS_EXPORTER: otlp - OTEL_METRICS_EXPORTER: otlp - OTEL_EXPORTER_OTLP_PROTOCOL: ${{ secrets.OTEL_EXPORTER_OTLP_PROTOCOL }} - OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }} - OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }} - run: npm run publish:marketplace:nightly