Skip to content

Release pipeline

Release pipeline #2

Workflow file for this run

name: Publish
on: [pull_request]
jobs:
create-python-client-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install --upgrade pip && pip install build
- name: Build python package
run: cd Client && python -m build
- name: generate hash
id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
path: ./dist
#
# pypi-publish-common:
# name: Upload beaker-common release to PyPI
# runs-on: ubuntu-latest
# environment: production
# permissions:
# id-token: write
# steps:
# -
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# packages-dir: artifacts/
#
# pypi-publish-client:
# name: Upload beaker-client release to PyPI
# runs-on: ubuntu-latest
# environment: production
# permissions:
# id-token: write
# steps:
# -
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# packages-dir: artifacts/