Skip to content

Commit

Permalink
Use kim-api in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwen committed Dec 17, 2023
1 parent 76fe40d commit 8cb07ac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@v1.7.3
with:
python-version: "3.x"
# the create command looks like this:
# `micromamba create -n test-env python=<the corresponding version>`
environment-name: test-env
cache-environment: true
create-args: >-
python=3.10
kim-api=2.3.0
- name: Install dependencies
run: |
Expand Down
3 changes: 3 additions & 0 deletions devtools/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ def update_version(version, path, key, in_quotes=False, extra_space=False):

path = kimpy_dir / ".github/workflows/testing.yml"
update_version(api_v, path, "kim-api", in_quotes=False)

path = kimpy_dir / ".github/workflows/publish.yml"
update_version(api_v, path, "kim-api", in_quotes=False)

0 comments on commit 8cb07ac

Please sign in to comment.