Skip to content

Commit

Permalink
fix: pypi-publish
Browse files Browse the repository at this point in the history
* add missed installed package babel

* removed compile_catalog from building the package. the package is not
  configured for translation.
  • Loading branch information
utnapischtim committed Nov 9, 2023
1 parent 1dae1aa commit 571558f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pypi-release.yml
Expand Up @@ -2,6 +2,7 @@
#
# This file is part of Invenio.
# Copyright (C) 2020 CERN.
# Copyright (C) 2023 Graz University of Technology.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details
Expand All @@ -15,7 +16,7 @@ on:

jobs:
Publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -24,15 +25,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install setuptools wheel babel
- name: Build package
run: python setup.py compile_catalog sdist bdist_wheel
run: python setup.py sdist bdist_wheel

- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@v1.3.1
Expand Down

0 comments on commit 571558f

Please sign in to comment.