From 29abc7e2779476b0601c92e32e0dddaec5242994 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Mon, 13 Jan 2025 14:01:31 -0600 Subject: [PATCH 1/3] Update .github/workflows/gh-ci.yaml Co-authored-by: Lily Wang <31115101+lilyminium@users.noreply.github.com> --- .github/workflows/gh-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 0739ed6b..7ae039cb 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -150,7 +150,7 @@ jobs: - name: Build package run: | - python -m pip install . + python3 -m pip install --upgrade build - name: Check package build run: | From ed1fd456acde2cbd59872305f295bbc8f4f16ee4 Mon Sep 17 00:00:00 2001 From: Lily Wang <31115101+lilyminium@users.noreply.github.com> Date: Tue, 14 Jan 2025 07:45:02 +1100 Subject: [PATCH 2/3] Update .github/workflows/gh-ci.yaml --- .github/workflows/gh-ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 7ae039cb..ea7f93fd 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -151,6 +151,7 @@ jobs: - name: Build package run: | python3 -m pip install --upgrade build + python3 -m build - name: Check package build run: | From f1ad773aa72ebfd9a33978db0a83eb35c7038025 Mon Sep 17 00:00:00 2001 From: Lily Wang Date: Tue, 14 Jan 2025 10:29:48 +1100 Subject: [PATCH 3/3] switch hyphen to underscore in check --- .github/workflows/gh-ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index ea7f93fd..e842ff2c 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -155,8 +155,8 @@ jobs: - name: Check package build run: | - DISTRIBUTION=$(ls -t1 dist/openff-nagl-*.tar.gz | head -n 1) - test -n "${DISTRIBUTION}" || { echo "no distribution dist/openff-nagl-*.tar.gz found"; exit 1; } + DISTRIBUTION=$(ls -t1 dist/openff_nagl-*.tar.gz | head -n 1) + test -n "${DISTRIBUTION}" || { echo "no distribution dist/openff_nagl-*.tar.gz found"; exit 1; } echo "twine check $DISTRIBUTION" twine check $DISTRIBUTION