Skip to content
name: Build and upload release artifacts to JFrog
on:
push:
branches:
- 'master*'
# This is to make sure this workflow doesn't get triggered after a bump commit
tags-ignore:
- '*'
jobs:
promote-rc-build-to-release:
uses: ./.github/workflows/bump-version.yml

Check failure on line 12 in .github/workflows/stage-to-master.yml

View workflow run for this annotation

GitHub Actions / Build and upload release artifacts to JFrog

Invalid workflow file

The workflow is not valid. .github/workflows/stage-to-master.yml (Line: 12, Col: 11): Secret CLIENT_BOT_PAT is required, but not provided while calling.
with:
change: promote-rc-build-to-release
build-artifacts:
needs: promote-rc-build-to-release
uses: ./.github/workflows/build-wheels.yml
with:
run_tests: false
commit_sha: ${{ needs.promote-rc-build-to-release.outputs.bump_sha }}
upload-to-jfrog:
name: Upload artifacts to JFrog
needs: build-artifacts
uses: ./.github/workflows/upload-to-jfrog.yml
with:
new_version: ${{ needs.promote-rc-build-to-release.outputs.new_version }}
secrets: inherit
publish-to-pypi:
runs-on: ubuntu-latest
needs: build-artifacts
steps:
- name: Download and store all artifacts to single folder
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: artifacts/
password: ${{ secrets.PYPI_API_TOKEN }}
fast-forward-stage-to-master:
needs: publish-to-pypi
uses: ./.github/workflows/fast-forward-merge.yml
with:
branch_to_merge: master-test
base_branch: stage-test
fast-forward-dev-to-master:
needs: publish-to-pypi
uses: ./.github/workflows/fast-forward-merge.yml
with:
branch_to_merge: master-test
base_branch: dev-test