Skip to content

Commit a2caacf

Browse files
committed
chore(actions)
1 parent c029106 commit a2caacf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
runs-on: ubuntu-latest
4141

4242
needs: test
43+
44+
permissions:
45+
contents: write
4346

4447
steps:
4548
- run: echo "Setup project.."
@@ -54,4 +57,10 @@ jobs:
5457
run: pip install hatch
5558

5659
- name: Install twin
57-
run: pip install twine
60+
run: pip install twine
61+
62+
- name: Build package
63+
run: hatch build
64+
65+
- name: Test build using twine
66+
run: twine check dist/*

0 commit comments

Comments
 (0)