Skip to content

add "gcds" to reserved usernames (google cloud directory sync) #44

add "gcds" to reserved usernames (google cloud directory sync)

add "gcds" to reserved usernames (google cloud directory sync) #44

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches: [master]
defaults:
run:
shell: bash
jobs:
deploy:
if: github.repository == 'ocf/ocflib'
name: Publish
runs-on: self-hosted
steps:
- name: Checkout branch
uses: actions/checkout@v5.0.0
with:
fetch-depth: 0
- name: Install dependencies
run: |
poetry --version
poetry check --no-interaction
poetry config virtualenvs.in-project true
poetry install --no-interaction
- name: Run tests
run: |
poetry run pytest
- name: Build package
run: |
poetry build --no-interaction
- name: Publish to PyPi
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry publish --username __token__ --password $PYPI_TOKEN