From f41bbdde01c9b1a3d868dada516d5aaa9cd8dc0f Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Thu, 2 Jun 2022 23:01:28 +0100 Subject: [PATCH] ci: fix publish script --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15e2616..36b2895 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,9 @@ jobs: - name: Publish to Cargo uses: actions-rs/cargo@v1 with: - command: publish + command: publish --token ${CARGO_REGISTRY_TOKEN} + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - name: Publish to NPM run: |