Skip to content

Commit 3ee762e

Browse files
authored
Merge pull request #604 from ISA-tools/modified_publish_workflow
Added a build step, upgraded some action versions.
2 parents a31ad87 + d49085a commit 3ee762e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,24 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- name: Set up Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v6
1414
with:
15-
python-version: '3.x'
15+
python-version-file: '.python-version'
1616
- name: Install uv
17-
uses: astral-sh/setup-uv@v6.3.0
17+
uses: astral-sh/setup-uv@v6
1818
with:
1919
enable-cache: true
2020
cache-dependency-glob: uv.lock
2121
- name: Sync dependencies
2222
run: |
2323
uv sync --no-dev
24-
- name: Build and publish
24+
- name: Build
25+
run: |
26+
echo "Running uv build..."
27+
uv build
28+
- name: Publish
2529
run: |
2630
echo "Publishing to PyPI..."
2731
uv publish -t ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)