Skip to content

Commit 0f24dac

Browse files
committed
Quick fix to Publish action
1 parent 5f001c0 commit 0f24dac

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/publish.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Publish
2+
13
on:
24
release:
35
types: [published]
@@ -8,6 +10,11 @@ permissions:
810
jobs:
911
release-build:
1012
runs-on: ubuntu-latest
13+
environment:
14+
name: pypi
15+
url: https://pypi.org/p/streamdeck-plugin-sdk
16+
permissions:
17+
id-token: write
1118
steps:
1219
- uses: actions/checkout@v4
1320
- uses: actions/setup-python@v5
@@ -18,4 +25,4 @@ jobs:
1825
python -m pip install build
1926
python -m build
2027
- name: Publish release distributions to PyPI
21-
uses: pypa/gh-action-pypi-publish@6f7e8d9c0b1a2c3d4e5f6a7b8c9d0e1f2a3b4c5d
28+
uses: pypa/gh-action-pypi-publish@v1.11.0

.github/workflows/tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Tests
2+
23
on:
34
push:
45
branches: [main]

0 commit comments

Comments
 (0)