Skip to content

Commit 1fad0d7

Browse files
committed
29.11.2025 | Anpassung der Automation
1 parent 2b5b806 commit 1fad0d7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: Publish VSCode Extension
1+
name: Publish VS Code Extension
22

33
on:
4-
push:
5-
tags:
6-
- 'v*' # Jede Version wie v1.0.0 triggert Release & Publish
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
78

89
jobs:
910
build:
1011
runs-on: ubuntu-latest
11-
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
@@ -39,7 +39,8 @@ jobs:
3939
release:
4040
needs: build
4141
runs-on: ubuntu-latest
42-
42+
permissions:
43+
contents: write
4344
steps:
4445
- name: Download artifact
4546
uses: actions/download-artifact@v4
@@ -56,7 +57,6 @@ jobs:
5657
publish:
5758
needs: release
5859
runs-on: ubuntu-latest
59-
6060
steps:
6161
- name: Checkout repository
6262
uses: actions/checkout@v4
@@ -77,4 +77,4 @@ jobs:
7777
- name: Publish to VSCode Marketplace
7878
run: vsce publish --packagePath *.vsix
7979
env:
80-
VSCE_PAT: ${{ secrets.VSCE_PAT }}
80+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)