Skip to content

Commit 6761a1e

Browse files
Merge pull request #1075 from GitGuardian/jgriffe/fix-update-vscode-ggshield
Jgriffe/fix update vscode ggshield
2 parents f866bb8 + be76873 commit 6761a1e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tag.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
runs-on: ubuntu-22.04
4040
needs: build_release_assets
4141
continue-on-error: true
42+
outputs:
43+
tag: ${{ steps.tags.outputs.tag }}
4244
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
4345

4446
# This is required for `gh release create` to work
@@ -82,11 +84,12 @@ jobs:
8284
packages/ggshield-*.zip \
8385
packages/ggshield-*.gz
8486
85-
- name: Update VSCode extension
86-
uses: ./.github/workflows/update_vscode_extension.yml
87-
with:
88-
version: ${{ steps.tags.outputs.tag }}
89-
secrets: inherit
87+
update_vscode_extension:
88+
needs: release
89+
uses: ./.github/workflows/update_vscode_extension.yml
90+
secrets: inherit
91+
with:
92+
version: ${{ needs.release.outputs.tag }}
9093

9194
push_to_docker_hub:
9295
name: Push Docker image to Docker Hub

0 commit comments

Comments
 (0)