Skip to content

Commit a3771a8

Browse files
committed
V4.0.1
1 parent 17db707 commit a3771a8

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.github/workflows/workflow.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,17 @@ jobs:
4343
slug: ddc/pythonLogs
4444

4545
build:
46-
name: Build Test Package Python ${{ matrix.python-version }}
46+
name: Build Test Package
4747
runs-on: ubuntu-latest
4848
needs: test
4949
if: "!startsWith(github.ref, 'refs/tags/')"
50-
strategy:
51-
matrix:
52-
python-version: ["3.10", "3.11", "3.12", "3.13"]
5350
steps:
5451
- uses: actions/checkout@v4
5552

56-
- name: Set up Python ${{ matrix.python-version }}
53+
- name: Set up Python
5754
uses: actions/setup-python@v5
5855
with:
59-
python-version: ${{ matrix.python-version }}
56+
python-version: "3.13"
6057

6158
- name: Install Poetry
6259
uses: snok/install-poetry@v1
@@ -73,7 +70,7 @@ jobs:
7370
- name: Upload artifacts
7471
uses: actions/upload-artifact@v4
7572
with:
76-
name: python-package-${{ matrix.python-version }}
73+
name: python-packages
7774
path: dist/
7875
retention-days: 7
7976

@@ -83,16 +80,13 @@ jobs:
8380
if: startsWith(github.ref, 'refs/tags/v')
8481
permissions:
8582
contents: write
86-
strategy:
87-
matrix:
88-
python-version: ["3.10", "3.11", "3.12", "3.13"]
8983
steps:
9084
- uses: actions/checkout@v4
9185

92-
- name: Set up Python ${{ matrix.python-version }}
86+
- name: Set up Python
9387
uses: actions/setup-python@v5
9488
with:
95-
python-version: ${{ matrix.python-version }}
89+
python-version: "3.13"
9690

9791
- name: Install Poetry
9892
uses: snok/install-poetry@v1
@@ -106,8 +100,7 @@ jobs:
106100
- name: Build package
107101
run: poetry build
108102

109-
- name: Upload to release
110-
if: matrix.python-version == '3.13'
103+
- name: Create Release
111104
uses: softprops/action-gh-release@v2
112105
with:
113106
name: Release ${{ github.ref_name }}
@@ -121,7 +114,7 @@ jobs:
121114
- name: Upload artifacts for PyPI
122115
uses: actions/upload-artifact@v4
123116
with:
124-
name: python-package-${{ matrix.python-version }}
117+
name: python-packages
125118
path: dist/
126119
retention-days: 7
127120

@@ -137,9 +130,8 @@ jobs:
137130
- name: Download package artifacts
138131
uses: actions/download-artifact@v4
139132
with:
140-
pattern: python-package-*
141-
path: dist/
142-
merge-multiple: true
133+
name: python-packages
134+
path: dist
143135

144136
- name: Publish to TestPyPI
145137
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)