Skip to content

New Semgrep codemod: sandbox process creation (#831) #74

New Semgrep codemod: sandbox process creation (#831)

New Semgrep codemod: sandbox process creation (#831) #74

Workflow file for this run

name: Deploy to PyPI
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
build-and-release:
name: Build and Release
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check out code
uses: actions/checkout@v4
- name: Install build dependencies
run: pip install build twine
- name: Build package
run: python -m build .
- name: Twine Check
run: twine check dist/*
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*