From 33fe6802f75fa0c042c2b0096ba484f51a3964c1 Mon Sep 17 00:00:00 2001 From: Tanguy Segarra Date: Fri, 26 Aug 2022 15:03:49 +0200 Subject: [PATCH] ci: release on crates.io manually instead of using untrusted action --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42f7e030..059b0ec8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,7 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Setup rust toolchain uses: actions-rs/toolchain@v1 with: @@ -52,6 +53,4 @@ jobs: override: true - name: "Publish jinko on crates.io" - uses: katyo/publish-crates@v1 - with: - registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}