Skip to content

Commit

Permalink
Fix the GitHub action of the documentation release (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvaleye authored Mar 9, 2022
1 parent 4c76584 commit 155f8d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Enable manylinux Python targets
run: |
echo "/opt/python/cp37-cp37m/bin" >> $GITHUB_PATH
run: echo "/opt/python/cp37-cp37m/bin" >> $GITHUB_PATH

- name: Setup
run: make setup

Expand All @@ -92,19 +92,23 @@ jobs:
release-documentation:
needs: [ validate-git-tag, release-pypi-manylinux, release-pypi-mac-windows ]
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2010_x86_64:2020-12-31-4928808
permissions:
contents: write
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
target: ${{ matrix.target }}
- uses: actions/checkout@v1

- name: Install Rust
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
$HOME/.cargo/bin/rustup default stable
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Enable manylinux Python targets
run: echo "/opt/python/cp37-cp37m/bin" >> $GITHUB_PATH

- name: Setup
run: make setup

- name: Install metadataguardian
run: make install MATURIN_EXTRA_ARGS="--manylinux off"
Expand Down
4 changes: 2 additions & 2 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metadata_guardian-python"
version = "0.2.2"
version = "0.2.3"
authors = ["Florian Valeye <fvaleye@github.com>"]
homepage = "https://fvaleye.github.io/metadata-guardian/python"
license = "Apache-2.0"
Expand All @@ -16,7 +16,7 @@ crate-type = ["cdylib"]
env_logger = "0"

[dependencies.pyo3]
version = "0.15.1"
version = "0.16.1"
features = ["extension-module", "abi3", "abi3-py37"]

[dependencies.metadata_guardian]
Expand Down

0 comments on commit 155f8d4

Please sign in to comment.