From 90de6c3012d8ea503af1120db7ad3ef43a9e93d8 Mon Sep 17 00:00:00 2001 From: QuartzLibrary <81446760+QuartzLibrary@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:28:41 +0100 Subject: [PATCH] Publishing workflow --- .github/workflows/publish-crates.io.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/publish-crates.io.yml diff --git a/.github/workflows/publish-crates.io.yml b/.github/workflows/publish-crates.io.yml new file mode 100644 index 0000000..29f92d1 --- /dev/null +++ b/.github/workflows/publish-crates.io.yml @@ -0,0 +1,18 @@ +name: Publish on crates.io + +on: + workflow_dispatch: + +jobs: + publish-rust: + runs-on: ubuntu-latest + environment: crates.io + permissions: + id-token: write + steps: + - uses: actions/checkout@v7 + - uses: rust-lang/crates-io-auth-action@v1 + id: auth + - run: cargo publish -p glowpub + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}