Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to allow re-release manually #255

Merged
merged 4 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter -F python
sccache: 'true'
# manylinux: false
rust-toolchain: 1.74

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter -F python
# sccache: 'true' # sscache seems to have broken on Windows on Github -- https://github.com/nyx-space/nyx/actions/runs/5156694943/jobs/9288035780
rust-toolchain: 1.74
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -95,12 +95,17 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Update cargo packages
run: cargo update

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter -F python
sccache: 'true'
rust-toolchain: 1.74

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand All @@ -127,6 +132,7 @@ jobs:
with:
command: sdist
args: --out dist
rust-toolchain: 1.74
- name: Upload sdist
uses: actions/upload-artifact@v3
with:
Expand All @@ -136,7 +142,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') }}
if: github.ref_type == 'tag'
needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: release-plz
uses: MarcoIeni/[email protected]

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
Expand Down
Loading