Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianEddy committed Jan 16, 2024
1 parent 8920009 commit 1e17a6e
Show file tree
Hide file tree
Showing 9 changed files with 486 additions and 258 deletions.
44 changes: 24 additions & 20 deletions .github/workflows/python-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Python-module

on:
push:
tags: [ 'v*' ]
#tags: [ 'v*' ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -27,6 +27,9 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -131,7 +134,8 @@ jobs:
{ version: 3.8, lib: "cp38-cp38" },
{ version: 3.9, lib: "cp39-cp39" },
{ version: "3.10", lib: "cp310-cp310" },
{ version: "3.11", lib: "cp311-cp311" }
{ version: "3.11", lib: "cp311-cp311" },
{ version: "3.12", lib: "cp312-cp312" }
]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -164,21 +168,21 @@ jobs:
name: wheels
path: bin/python-module/target/wheels/*.whl

release:
name: Release
runs-on: ubuntu-latest
needs: [ macos, windows, linux, linux-cross ]
steps:
- uses: actions/download-artifact@v3
with:
name: wheels
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install --upgrade twine
twine upload --skip-existing *
#release:
# name: Release
# runs-on: ubuntu-latest
# needs: [ macos, windows, linux, linux-cross ]
# steps:
# - uses: actions/download-artifact@v3
# with:
# name: wheels
# - uses: actions/setup-python@v4
# with:
# python-version: "3.11"
# - name: Publish to PyPi
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# run: |
# pip install --upgrade twine
# twine upload --skip-existing *
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
tags: [ 'v*' ]
#tags: [ 'v*' ]

jobs:
build:
Expand Down Expand Up @@ -66,21 +66,21 @@ jobs:
name: gyro2bb
path: dist/gyro2bb*

github_release:
name: Create GitHub release
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: gyro2bb

- run: ls -l

- name: Publish
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./*
#github_release:
# name: Create GitHub release
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Download artifacts
# uses: actions/download-artifact@v3
# with:
# name: gyro2bb
#
# - run: ls -l
#
# - name: Publish
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: ./*

Loading

0 comments on commit 1e17a6e

Please sign in to comment.