Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06dddca

Browse filesBrowse files
Update build-and-release_v2.yaml
1 parent 7a4abfb commit 06dddca
Copy full SHA for 06dddca

File tree

Expand file treeCollapse file tree

1 file changed

+5
-28
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-28
lines changed

‎.github/workflows/build-and-release_v2.yaml

Copy file name to clipboardExpand all lines: .github/workflows/build-and-release_v2.yaml
+5-28Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-22.04]
15-
cibw_archs: ["aarch64", "x86_64"] # Define 'cibw_archs' as part of the job's strategy matrix
15+
cibw_archs: ["aarch64", "x86_64"]
1616

1717
steps:
1818
# Set up QEMU for ARM64 architecture
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
platforms: arm64
2424

25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
submodules: "recursive"
2828

@@ -49,45 +49,22 @@ jobs:
4949
package-dir: .
5050
output-dir: wheelhouse
5151

52-
- uses: actions/upload-artifact@v3
52+
- uses: actions/upload-artifact@v4
5353
with:
5454
path: ./wheelhouse/*.whl
55-
56-
build_sdist:
57-
name: Build source distribution
58-
runs-on: ubuntu-latest
59-
60-
steps:
61-
- uses: actions/checkout@v3
62-
with:
63-
submodules: "recursive"
64-
- uses: actions/setup-python@v3
65-
with:
66-
python-version: "3.10"
67-
- name: Install dependencies
68-
run: |
69-
python -m pip install --upgrade pip build
70-
python -m pip install -e .[all]
71-
- name: Build source distribution
72-
run: |
73-
python -m build --sdist
74-
- uses: actions/upload-artifact@v3
75-
with:
76-
path: ./dist/*.tar.gz
7755

7856
release:
7957
name: Release
80-
needs: [build_wheels, build_sdist]
58+
needs: [build_wheels]
8159
runs-on: ubuntu-latest
82-
8360
steps:
8461
- uses: actions/download-artifact@v3
8562
with:
8663
name: artifact
8764
path: dist
8865
- id: tag
8966
run: |
90-
echo "::set-output name=release_tag::$(date +"%Y.%m.%d_%H-%M")"
67+
echo "release_tag=$(date +"%Y.%m.%d_%H-%M")" >> "$GITHUB_OUTPUT"
9168
- uses: softprops/action-gh-release@v1
9269
with:
9370
tag_name: ${{ steps.tag.outputs.release_tag }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.