Skip to content

Fix Node Feature Discovery Operator installation (#198) #36

Fix Node Feature Discovery Operator installation (#198)

Fix Node Feature Discovery Operator installation (#198) #36

Workflow file for this run

name: TestPyPI/Quay
on:
push:
tags:
- "*"
jobs:
build:
if: ${{ github.event.base_ref != 'refs/heads/master' }}
name: Build Python 🐍 distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/actions/checkout
with:
fetch-depth: 0
# https://github.com/actions/checkout/issues/299
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python 3.11
uses: actions/setup-python@v5
# https://github.com/actions/setup-python
with:
python-version: "3.11"
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build wheel
run: >-
python -m
build
- uses: actions/upload-artifact@v4
# https://github.com/actions/upload-artifact
with:
name: workspace
path: |
dist
Dockerfile
pypi:
name: Publish distribution 📦 to TestPyPI
needs: build
runs-on: ubuntu-latest
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
environment: release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
# https://github.com/actions/download-artifact
with:
name: workspace
- uses: pypa/gh-action-pypi-publish@release/v1
# https://github.com/pypa/gh-action-pypi-publish
with:
repository-url: https://test.pypi.org/legacy/