Skip to content

use branch of mn/cibw-ru #39

use branch of mn/cibw-ru

use branch of mn/cibw-ru #39

Workflow file for this run

name: Deploy Python
concurrency: ADO-twine
on:
workflow_dispatch:
push:
tags: "python-v*"
jobs:
python-checks:
uses: ./.github/workflows/python.yml
rust-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Test fizzbuzzo3
run: cargo test --workspace
builds:
uses: musicalninjas/cibuildwheel-rust@build_pypa

Check failure on line 25 in .github/workflows/deploy-python.yml

View workflow run for this annotation

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

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
publish:
environment: ADO-Packages
needs: [python-checks, rust-checks, builds]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true
- name: Install tooling
run: python -m pip install twine keyring artifacts-keyring
- name: Upload to ADO
env:
TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/MusicalNinjas/FizzBuzz/_packaging/FizzBuzz/pypi/upload/
TWINE_USERNAME: FizzBuzz
TWINE_PASSWORD: ${{ secrets.ADO_TOKEN }}
run: twine upload --non-interactive dist/*