Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

ci: install deno in release workflow (#9217)

Omar Khattab0fe8ab74e3f2
diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml
index 507136f98..2bcc18e80 100644
--- a/.github/workflows/build_and_release.yml
+++ b/.github/workflows/build_and_release.yml
@@ -31,6 +31,12 @@ jobs:
python-version: "3.11"
- name: Install dependencies
run: python3 -m pip install --upgrade setuptools wheel twine build semver packaging
+ - name: Install Deno
+ run: |
+ curl -fsSL https://deno.land/install.sh | sh
+ echo "${HOME}/.deno/bin" >> $GITHUB_PATH
+ - name: Verify Deno installation
+ run: deno --version
- name: Get correct version for TestPyPI release
id: check_version
run: |
@@ -82,6 +88,12 @@ jobs:
python-version: "3.11"
- name: Install dependencies
run: python3 -m pip install --upgrade setuptools wheel twine build
+ - name: Install Deno
+ run: |
+ curl -fsSL https://deno.land/install.sh | sh
+ echo "${HOME}/.deno/bin" >> $GITHUB_PATH
+ - name: Verify Deno installation
+ run: deno --version
- name: Update version in pyproject.toml
run: sed -i '/#replace_package_version_marker/{n;s/version *= *"[^"]*"/version="${{ needs.extract-tag.outputs.version }}"/;}' pyproject.toml
- name: Update version in __metadata__.py