Bump black from 24.3.0 to 24.4.0 #16
Workflow file for this run
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: Create a Source Distribution | |
on: | |
push: | |
branches: [ "main", "develop" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
python-version: 3.12 | |
- name: Install packages | |
run: pip install -r requirements.txt | |
- name: Python Build | |
run: python setup.py sdist | |
- name: Upload SDist Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: sdist | |
# A file, directory or wildcard pattern that describes what to upload | |
path: ${{ github.workspace }}/dist |