Skip to content

chore(deps): Update flake8 requirement #35

chore(deps): Update flake8 requirement

chore(deps): Update flake8 requirement #35

Workflow file for this run

name: Build
on:
push:
paths:
- 'pyproject.toml'
- 'discord_rich_help/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8.x
- name: Install dependencies
run: python -m pip install .[build] build
- name: Build
run: |
python -m build
echo "version=$(python -c 'import discord_rich_help; print(discord_rich_help.__version__)')" >> $GITHUB_ENV
echo "commit=$(echo ${{ github.sha }} | cut -c 1-7)" >> $GITHUB_ENV
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: discord-rich-help.py_${{ env.version }}@${{ env.commit}}
path: dist/*