Skip to content

Commit

Permalink
debug: gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
tanbro committed Apr 8, 2024
1 parent aa6d15d commit bdc16c3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: workflow

on:
push:
branches: [master]
tags: ["*"]
branches: [main, master]
tags: ["v*"]
pull_request:
branches: [master]
branches: [main, master]

jobs:
get-version-pep440:
Expand Down Expand Up @@ -40,13 +40,13 @@ jobs:
cache: pip # caching pip dependencies
- name: Install project and dependent tools
run: |
pip install -e . -r requirements.txt
python -m pip install -e . -r requirements.txt
- name: Check with ruff
run: |
ruff check .
- name: MkDocs gh-deploy
python -m ruff check .
- name: MkDocs gh-deploy --force
run: |
mkdocs gh-deploy
python -m mkdocs gh-deploy
build:
runs-on: ubuntu-latest
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Install builder
run: pip install build
- name: Build Python distribution
run: pyproject-build
run: python -m build
- name: Upload dist to artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit bdc16c3

Please sign in to comment.