Skip to content

Commit 10f45fc

Browse files
committed
Enabled id-toke write
1 parent e6c832b commit 10f45fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/dev_test_publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222

2323
test:
24-
name: Test
24+
name: Test 🧪
2525
runs-on: ubuntu-latest
2626

2727
steps:
@@ -51,7 +51,7 @@ jobs:
5151
run: pytest test/
5252

5353
build:
54-
name: Build and publish
54+
name: Build 📦
5555
runs-on: ubuntu-latest
5656
needs: [test]
5757
permissions:
@@ -92,7 +92,7 @@ jobs:
9292

9393

9494
publish-to-testpypi:
95-
name: Publish Python 🐍 distribution 📦 to TestPyPI
95+
name: Publish 📦 to TestPyPI
9696
needs:
9797
- build
9898
runs-on: ubuntu-latest
@@ -101,16 +101,16 @@ jobs:
101101
name: testpypi
102102
url: https://test.pypi.org/p/factiva-analytics-python
103103

104-
# permissions:
105-
# id-token: write # IMPORTANT: mandatory for trusted publishing
104+
permissions:
105+
id-token: write
106106

107107
steps:
108108
- name: Download all the dists
109109
uses: actions/download-artifact@v4
110110
with:
111111
name: python-package-distributions
112112
path: dist/
113-
- name: Publish distribution 📦 to TestPyPI
113+
- name: Publish 📦 to TestPyPI
114114
uses: pypa/gh-action-pypi-publish@release/v1
115115
with:
116116
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)