mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
b34ab6f3a1
This PR removes the references to initializing Git submodules as part of building Zed. These are no longer needed, as our only submodule was removed in #11672. Release Notes: - N/A
40 lines
942 B
YAML
40 lines
942 B
YAML
name: Publish zed-extension CLI
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- extension-cli
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
CARGO_INCREMENTAL: 0
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish zed-extension CLI
|
|
runs-on:
|
|
- ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
clean: false
|
|
|
|
- name: Cache dependencies
|
|
uses: swatinem/rust-cache@v2
|
|
with:
|
|
save-if: ${{ github.ref == 'refs/heads/main' }}
|
|
|
|
- name: Configure linux
|
|
shell: bash -euxo pipefail {0}
|
|
run: script/linux
|
|
|
|
- name: Build extension CLI
|
|
run: cargo build --release --package extension_cli
|
|
|
|
- name: Upload binary
|
|
env:
|
|
DIGITALOCEAN_SPACES_ACCESS_KEY: ${{ secrets.DIGITALOCEAN_SPACES_ACCESS_KEY }}
|
|
DIGITALOCEAN_SPACES_SECRET_KEY: ${{ secrets.DIGITALOCEAN_SPACES_SECRET_KEY }}
|
|
run: script/upload-extension-cli ${{ github.sha }}
|