From 7afc38527b4ad95a77e4e9fa5aefc4c4902b9363 Mon Sep 17 00:00:00 2001 From: asonix Date: Wed, 7 Feb 2024 20:30:07 -0600 Subject: [PATCH] Fix publish crate --- .forgejo/workflows/publish.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 9046ab4..180a6df 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -216,10 +216,12 @@ jobs: prerelease: true publish-crate: - needs: - - build-amd64 - - build-arm32v7 - - build-arm64v8 + needs: [build] runs-on: docker steps: - - run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} + - + name: Setup Rust + uses: https://git.asonix.dog/asonix/pict-rs/.forgejo/actions/prepare-rust@main + - + name: Publish Crate + run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}