Skip to content

Commit

Permalink
Merge pull request #22 from openkim/devel
Browse files Browse the repository at this point in the history
Use kim-api in publish
  • Loading branch information
mjwen authored Dec 17, 2023
2 parents 4e54930 + 6b3363f commit 9eb97dc
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@v5
- name: Set up micromamba
uses: mamba-org/setup-[email protected]
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 9eb97dc

Please sign in to comment.