Skip to content

chore: update publish job #1

chore: update publish job

chore: update publish job #1

name: Workflow - Push tags
on:
push:
tags:
- v*
jobs:
lint_and_test:
uses: ./.github/workflows/job-lint-test.yml
with:
project: belt
release_version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.git_tags.outputs.version }}
steps:
- id: git_tags
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
build_and_publish:
needs: [lint_and_test, release_version]
uses: ./.github/workflows/job-build-publish.yml
with:
project: belt
secrets:
PYPI_API_KEY: ${{ secrets.PYPI_API_KEY }}