Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 012cc06

Browse files
author
Hendrik van Antwerpen
committed
Make GitHub and NPM releases conditional on the crate release
1 parent 2aa6003 commit 012cc06

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/publish-lsp-positions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
path: ${{ env.CRATE_DIR }}
3030
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3131
create-release:
32+
needs: publish-crate
3233
runs-on: ubuntu-latest
3334
permissions:
3435
contents: write

.github/workflows/publish-stack-graphs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
path: ${{ env.CRATE_DIR }}
3030
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3131
create-release:
32+
needs: publish-crate
3233
runs-on: ubuntu-latest
3334
permissions:
3435
contents: write

.github/workflows/publish-tree-sitter-stack-graphs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
path: ${{ env.CRATE_DIR }}
3030
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3131
publish-npm:
32+
needs: publish-crate
3233
runs-on: ubuntu-latest
3334
env:
3435
PACKAGE_DIR: './tree-sitter-stack-graphs/npm'
@@ -53,6 +54,7 @@ jobs:
5354
env:
5455
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5556
create-release:
57+
needs: publish-crate
5658
runs-on: ubuntu-latest
5759
permissions:
5860
contents: write

0 commit comments

Comments
 (0)