Skip to content

antarcticrainforest is uploading the code to pypi 🧉 #29

antarcticrainforest is uploading the code to pypi 🧉

antarcticrainforest is uploading the code to pypi 🧉 #29

Workflow file for this run

name: Create Pip package
run-name: ${{ github.actor }} is uploading the code to pypi 🧉
on:
push:
tags:
- "v*.*.*"
jobs:
pipy:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Adding the evaluation config file
run: python src/freva_deployment/__init__.py
-
name: Install flit
run: python -m pip install flit
-
name: Building freva-deployment 📦 with flit
run: flit build
-
name: publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/