Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Publish VSCode Extension
name: Publish VS Code Extension

on:
push:
tags:
- 'v*' # Jede Version wie v1.0.0 triggert Release & Publish
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -39,7 +39,8 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- name: Download artifact
uses: actions/download-artifact@v4
Expand All @@ -56,7 +57,6 @@ jobs:
publish:
needs: release
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -77,4 +77,4 @@ jobs:
- name: Publish to VSCode Marketplace
run: vsce publish --packagePath *.vsix
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}