Skip to content

Commit

Permalink
Refining github action
Browse files Browse the repository at this point in the history
  • Loading branch information
cmidgley committed Apr 18, 2024
1 parent 77d074f commit bf048fd
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install InvenTree
- name: Build Wheel
run: |
pip install build
python -m build --wheel
- name: Run Pylint
run: |
pylint inventree_part_templates/
- name: Publish to Test PyPI (for tags 'test-v*' or 'dev-v*')
if: |
startsWith(github.event.release.tag_name, 'test-v') ||
Expand Down

0 comments on commit bf048fd

Please sign in to comment.