Skip to content

Commit 281f77f

Browse files
Fix publish workflow (#214)
* Use PyPI trusted publisher and fix images in readme * increment version
1 parent b020689 commit 281f77f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/python-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515

1616
permissions:
1717
contents: read
18+
# IMPORTANT: this permission is mandatory for trusted publishing
19+
id-token: write
1820

1921
jobs:
2022
deploy:
@@ -33,9 +35,7 @@ jobs:
3335
pip install build
3436
- name: Build package
3537
run: python -m build
38+
# Use PyPI trusted publisher: https://docs.pypi.org/trusted-publishers/using-a-publisher/
3639
- name: Publish package
37-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
38-
with:
39-
user: __token__
40-
password: ${{ secrets.PYPI_API_TOKEN }}
40+
uses: pypa/gh-action-pypi-publish@release/v1
4141

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Simulate flow-level, inter-node network coordination including scaling and place
1717
- Graceful adjustment of placements: When VNFs are removed from a placement by an algorithm. Currently processing flows are allowed to finish processing before the VNF is completely removed (see PR [#78](https://github.com/RealVNF/coordination-simulation/pull/78) and [#81](https://github.com/RealVNF/coordination-simulation/pull/81)).
1818

1919
<p align="center">
20-
<img src="docs/realvnf_logo.png" height="150" hspace="30"/>
21-
<img src="docs/upb.png" width="200" hspace="30"/>
22-
<img src="docs/huawei_horizontal.png" width="250" hspace="30"/>
20+
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/realvnf_logo.png" height="150" hspace="30"/>
21+
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/upb.png" width="200" hspace="30"/>
22+
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/huawei_horizontal.png" width="250" hspace="30"/>
2323
</p>
2424

2525
## Projects Using coord-sim

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
setup(
3030
name='coord-sim',
31-
version='2.2.0',
31+
version='2.2.1',
3232
description='Simulate flow-level, inter-node network coordination including scaling and placement of services and '
3333
'scheduling/balancing traffic between them.',
3434
long_description=long_description,

0 commit comments

Comments
 (0)