Skip to content

ENH: Add to_rms()/from_rms() methods in NestedHybridGrid #795

ENH: Add to_rms()/from_rms() methods in NestedHybridGrid

ENH: Add to_rms()/from_rms() methods in NestedHybridGrid #795

name: Publish Python 🐍 distributions 📦 to PyPI
on:
pull_request:
branches: [main]
release:
types: [published]
permissions:
contents: read
pull-requests: write
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
if: github.event.action == 'published'
environment:
name: pypi
url: https://pypi.org/project/fmu-tools
permissions:
id-token: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: 3.11
- name: Update pip
run: pip install pip --upgrade
- name: Install build dependencies
run: pip install build --upgrade
- name: Build package
run: python -m build
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
with:
skip-existing: true
verbose: true