Add --code flag for collecting code context. (#1154) #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Package" | |
on: | |
# Trigger the workflow on push only for the main branch | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
build-package: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
security-events: write | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- run: pip install --upgrade bumpver | |
- run: bumpver update --no-commit | |
- uses: ./.github/actions/build-package | |
with: | |
is_dev_build: true | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Development Build" | |
files: | | |
dist/testplan-*-py3-none-any.whl |