Skip to content

Fix - Adaptado ao novo STAC v0.9 do INPE #11

Fix - Adaptado ao novo STAC v0.9 do INPE

Fix - Adaptado ao novo STAC v0.9 do INPE #11

name: Build and Publish cbers4asat
on:
push:
tags:
- cbers4asat-v*
jobs:
build:
name: Build wheels and source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
python -m pip install hatch
- name: Build source distribution
run: python -m hatch build
- uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist/*
if-no-files-found: error
publish:
name: Publish release on PyPi
needs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: artifacts
path: dist
- name: Push build artifacts to PyPI
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
skip_existing: true
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}