fixing publish indentation
This commit is contained in:
parent
2628571717
commit
96c40481c0
48
.github/workflows/build.yml
vendored
48
.github/workflows/build.yml
vendored
@ -266,31 +266,31 @@ jobs:
|
||||
command: publish
|
||||
args: --package finlib
|
||||
|
||||
publishPy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish Python Library
|
||||
needs: [ buildPy ] # for ignoring bad builds
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
publishPy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish Python Library
|
||||
needs: [ buildPy ] # for ignoring bad builds
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Python 3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ env.python-version }}
|
||||
- name: Install Python 3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ env.python-version }}
|
||||
|
||||
- name: Install Maturin
|
||||
working-directory: ./pyfinlib
|
||||
run: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
|
||||
- name: Install Maturin
|
||||
working-directory: ./pyfinlib
|
||||
run: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt
|
||||
|
||||
- name: Publish
|
||||
working-directory: ./pyfinlib
|
||||
run: source .venv/bin/activate && maturin publish
|
||||
env:
|
||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
- name: Publish
|
||||
working-directory: ./pyfinlib
|
||||
run: source .venv/bin/activate && maturin publish
|
||||
env:
|
||||
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user