From 97d34bead5a332ca9adab8c5ecef3015a864ab1d Mon Sep 17 00:00:00 2001 From: Michael Lieberman Date: Mon, 15 Apr 2024 14:35:55 +0000 Subject: [PATCH] Add publish to creates functionality to the gha --- .github/workflows/releases.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 66a9e45..fc0b62b 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -73,6 +73,17 @@ jobs: run: | hashes=$(sha256sum target/release/skootrs | base64 -w0) echo "hashes=$hashes" >> $GITHUB_OUTPUT + - name: Setup cargo release + if: startsWith(github.ref, 'refs/tags/') + run: cargo install cargo-release + - name: Public to crates.io + if: startsWith(github.ref, 'refs/tags/') + run: | + cargo release -p skootrs-model --execute + cargo release -p skootrs-lib --execute + cargo release -p skootrs-statestore --execute + cargo release -p skootrs-rest --execute + cargo release -p skootrs-bin --execute sbom: permissions: