Skip to content

Commit

Permalink
Revert "ci: add bin in release details"
Browse files Browse the repository at this point in the history
This reverts commit a193d1b.
  • Loading branch information
volgar1x committed Oct 14, 2024
1 parent b4f5532 commit 75234a9
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- "*"
- '*'
pull_request:
merge_group:
workflow_dispatch:
Expand All @@ -26,18 +26,18 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: "true"
sccache: 'true'
manylinux: auto
docker-options: -e SENTRY_DSN
env:
# Workaround ring 0.17 build issue
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
CFLAGS_aarch64_unknown_linux_gnu: '-D__ARM_ARCH=8'
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -53,14 +53,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: '3.10'
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: "true"
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -76,13 +76,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: "true"
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -113,14 +113,6 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: wheels
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
env:
Expand Down Expand Up @@ -166,4 +158,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max

0 comments on commit 75234a9

Please sign in to comment.