From 50b848529c00131ea94fdabb4d28376b81c5356a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Cortier?= <3809077+CBenoit@users.noreply.github.com> Date: Thu, 12 Dec 2024 11:10:22 -0500 Subject: [PATCH] ci(release-crates): use Devolutions/actions-public (#608) --- .github/workflows/release-crates.yml | 22 +++------------------- crates/ironrdp-client/Cargo.toml | 3 +++ crates/now-proto-pdu/Cargo.toml | 3 +++ ffi/Cargo.toml | 9 ++------- 4 files changed, 11 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release-crates.yml b/.github/workflows/release-crates.yml index a94f74d4e..0f38f28a4 100644 --- a/.github/workflows/release-crates.yml +++ b/.github/workflows/release-crates.yml @@ -26,16 +26,8 @@ jobs: with: fetch-depth: 512 - - name: Check out Devolutions/actions - uses: actions/checkout@v4 - with: - repository: Devolutions/actions - ref: v1 - path: ./.github/actions - token: ${{ secrets.DEVOLUTIONSBOT_TOKEN }} - - name: Run release-plz - uses: ./.github/workflows/release-plz + uses: Devolutions/actions-public/release-plz@v1 with: command: release-pr env: @@ -53,18 +45,10 @@ jobs: with: fetch-depth: 512 - - name: Check out Devolutions/actions - uses: actions/checkout@v4 - with: - repository: Devolutions/actions - ref: v1 - path: ./.github/actions - token: ${{ secrets.DEVOLUTIONSBOT_TOKEN }} - - name: Run release-plz - uses: ./.github/workflows/release-plz + uses: Devolutions/actions-public/release-plz@v1 with: command: release env: GITHUB_TOKEN: ${{ github.token }} - CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_DEVOLUTIONSBOT_API_KEY }} + CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }} diff --git a/crates/ironrdp-client/Cargo.toml b/crates/ironrdp-client/Cargo.toml index 315c6ae8b..f6b57045f 100644 --- a/crates/ironrdp-client/Cargo.toml +++ b/crates/ironrdp-client/Cargo.toml @@ -12,6 +12,9 @@ keywords.workspace = true categories.workspace = true default-run = "ironrdp-client" +# Not publishing for now. +publish = false + [lib] doctest = false test = false diff --git a/crates/now-proto-pdu/Cargo.toml b/crates/now-proto-pdu/Cargo.toml index 54a5083e9..e426a1d25 100644 --- a/crates/now-proto-pdu/Cargo.toml +++ b/crates/now-proto-pdu/Cargo.toml @@ -11,6 +11,9 @@ authors.workspace = true keywords.workspace = true categories.workspace = true +# FIXME: Will be published once moved to Devolutions/proto-proto +publish = false + [lib] doctest = false test = false diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index 07e8ea113..037b4c47e 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -1,13 +1,8 @@ [package] name = "ffi" version = "0.1.0" -edition.workspace = true -license.workspace = true -homepage.workspace = true -repository.workspace = true -authors.workspace = true -keywords.workspace = true -categories.workspace = true +edition = "2021" +publish = false [lib] name = "ironrdp"