Skip to content

[pull] main from llvm:main #1

[pull] main from llvm:main

[pull] main from llvm:main #1

name: Release mlgo-utils
permissions:
contents: read
on:
push
workflow_dispatch:

Check failure on line 8 in .github/workflows/release-mlgo-utils.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-mlgo-utils.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
inputs:
branch:
description: 'Branch'
required: true
type: string
jobs:
release-mlgo-utils:
name: Release mlg-utils
runs-on: ubuntu-latest
steps:
- name: Checkout LLVM
uses: actions/[email protected]
with:
ref: "${{ inputs.branch }}"
- name: Package mlgo-utils
run: |
cd llvm/utils/mlgo-utils
python3 -m build
- name: Upload mlgo-utils to test.pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository-url: https://test.pypi.org/legalcy/
packages-dir: llvm/utils/mlgo-utils/dist/