Skip to content

fix: rename NYL_CMP_TEMPLATE_INPUT to `ARGOCD_ENV_NYL_CMP_TEMPLATE_… #150

fix: rename NYL_CMP_TEMPLATE_INPUT to `ARGOCD_ENV_NYL_CMP_TEMPLATE_…

fix: rename NYL_CMP_TEMPLATE_INPUT to `ARGOCD_ENV_NYL_CMP_TEMPLATE_… #150

Workflow file for this run

name: Python
on:
push:
branches: [ develop ]
tags: [ '*' ]
pull_request:
branches: [ develop ]
env:
KRAKENW_USE: UV
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: "${{ matrix.python-version }}"
- name: Install PDM
run: python -m pip install --upgrade pipx && pipx install kraken-wrapper
- name: Cache Venv
uses: actions/cache@v4
with:
path: .venv
key: ${{ runner.os }}-${{ hashFiles('pdm.lock') }}-pdm-${{ matrix.python-version }}
- name: Run ${{ matrix.step }}
run: krakenw run fmt lint
publish:
runs-on: ubuntu-latest
needs: test
environment: release
permissions:
id-token: write
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- name: Get tags
run: git fetch --tags origin
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Kraken-wrapper
run: python -m pip install kraken-wrapper
- name: Build the package
run: krakenw run build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: build/python-dist/