File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # This file is part of Invenio.
4
+ # Copyright (C) 2024 CERN.
5
+ #
6
+ # Invenio is free software; you can redistribute it and/or modify it
7
+ # under the terms of the MIT License; see LICENSE file for more details
8
+
9
+ name : Publish
10
+
11
+ on :
12
+ push :
13
+ tags :
14
+ - v*
15
+
16
+ jobs :
17
+ Publish :
18
+ runs-on : ubuntu-20.04
19
+
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Set up Python
25
+ uses : actions/setup-python@v2
26
+ with :
27
+ python-version : 3.7
28
+
29
+ - name : Install dependencies
30
+ run : |
31
+ python -m pip install --upgrade pip
32
+ pip install setuptools wheel babel
33
+
34
+ - name : Build package
35
+ run : python setup.py sdist bdist_wheel
36
+
37
+ - name : Publish on PyPI
38
+
39
+ with :
40
+ user : __token__
41
+ # The token is provided by the inveniosoftware organization
42
+ password : ${{ secrets.pypi_token }}
You can’t perform that action at this time.
0 commit comments