From abb57180b3172d802748ecccc2b7e01dcf5bc395 Mon Sep 17 00:00:00 2001 From: Leon Shi <101139283+cmttt@users.noreply.github.com> Date: Mon, 12 Jan 2026 15:40:47 -0800 Subject: [PATCH] Add workflow to release osprey-rpc sdist (#109) --- .github/workflows/release-osprey-rpc.yml | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/release-osprey-rpc.yml diff --git a/.github/workflows/release-osprey-rpc.yml b/.github/workflows/release-osprey-rpc.yml new file mode 100644 index 0000000..cf4e2bb --- /dev/null +++ b/.github/workflows/release-osprey-rpc.yml @@ -0,0 +1,32 @@ +name: Release osprey-rpc + +on: + release: + types: [published] + +jobs: + build-osprey-rpc: + runs-on: ubuntu-24.04 + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version-file: ".python-version" + + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + version: "latest" + + - name: Build osprey-rpc sdist + run: | + cd osprey_rpc + uv build --sdist + + - name: Upload osprey-rpc to release + uses: softprops/action-gh-release@v2 + with: + files: osprey_rpc/dist/osprey_rpc-*.tar.gz -- 2.51.2