Skip to content

chore: rename package to orca-openstackclient #1

chore: rename package to orca-openstackclient

chore: rename package to orca-openstackclient #1

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
jobs:
ci:
name: Lint + Tests
uses: ./.github/workflows/ci.yml

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish.yml" -> "./.github/workflows/ci.yml" (source tag with sha:f9997daf2ad9d8fa899e3b1e977043ae7f3ba550) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
name: Build & Publish
runs-on: ubuntu-latest
needs: ci
environment: pypi
permissions:
id-token: write # required for OIDC trusted publisher
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install poetry
run: pip install poetry
- name: Set version from tag
run: |
TAG=${GITHUB_REF#refs/tags/v}
poetry version "$TAG"
- name: Build package
run: poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1