Skip to content

Consolidate shared code between workflows. #38

Consolidate shared code between workflows.

Consolidate shared code between workflows. #38

Workflow file for this run

name: "Deploy"
run-name: "Release ${{ github.ref_name }}"
on:
release:
types: [ created ]
jobs:
call-build:
uses: alexdlaird/pyngrok/.github/workflows/build.yml

Check failure on line 11 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

invalid value workflow reference: no version specified
secrets: inherit
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Validate version
run: make validate-release VERSION=${{ steps.get_version.outputs.VERSION }}
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: make upload