Skip to content

Use relative path to this repository rather than absolute GitHub glob… #55

Use relative path to this repository rather than absolute GitHub glob…

Use relative path to this repository rather than absolute GitHub glob… #55

Workflow file for this run

name: Deploy C++
on:
workflow_dispatch:
inputs:
publish-pypi:
type: boolean
description: Publish to PyPI
jobs:
build-wheels:
uses: ./.github/workflows/build-wheels.yml@main

Check failure on line 13 in .github/workflows/deploy-cpp.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-cpp.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
upload-awkward-cpp:
needs: [build-wheels]
runs-on: ubuntu-latest
if: inputs.publish-pypi
permissions:
id-token: write
environment:
name: "pypi"
url: "https://pypi.org/project/awkward-cpp/"
steps:
- uses: actions/download-artifact@v4
with:
pattern: "awkward-cpp*"
path: dist
merge-multiple: true
- uses: pypa/[email protected]