Skip to content

Commit

Permalink
chore: finalize workflow for merging
Browse files Browse the repository at this point in the history
  • Loading branch information
jselig-rigetti committed Apr 8, 2024
1 parent 6ff66f2 commit 0097b2d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 88 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/publish-test.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,38 @@ jobs:
PYQUIL_TAG_VERSION: ${{ steps.publish.outputs.PYQUIL_TAG_VERSION }}
PYQUIL_TAG_LATEST: ${{ steps.publish.outputs.PYQUIL_TAG_LATEST }}
PYQUIL_TAG_RC: ${{ steps.publish.outputs.PYQUIL_TAG_RC }}

build-publish-grpc-web:
name: Build and Publish (pyquil-grpc-web)
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
path: dist
- name: Mint token
id: mint
uses: tschm/token-mint-action@v1.0.3
- name: Publish the package with poetry
run: |
poetry publish -u __token__ -p '${{ steps.mint.outputs.api-token }}'
docker-publish:
name: Docker Publish
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0097b2d

Please sign in to comment.