Skip to content

chore: more testing private repo #10

chore: more testing private repo

chore: more testing private repo #10

Workflow file for this run

ame: Publish pyQuil (test)

Check failure on line 1 in .github/workflows/publish-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-test.yml

Invalid workflow file

The workflow is not valid. .github/workflows/publish-test.yml (Line: 1, Col: 1): Unexpected value 'ame'
on:
push:
branches: [1759-use-grpc-web]
pull_request:
branches: [1759-use-grpc-web]
jobs:
build-publish:
name: Build and Publish
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Patch package metadata for grpc-web
run: |
pip install toml
python scripts/ci_publish_grpc_web.py
- name: Poetry Build
run: |
poetry build --no-interaction
- name: Upload wheels as artifacts
uses: actions/upload-artifact@v2
with:
name: wheels
- name: Mint token for trusted publisher
id: mint
uses: tschm/[email protected]
- name: Publish the package with poetry
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}' -r test-pypi