Skip to content

Commit

Permalink
ci(release-crates): use Devolutions/actions-public (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
CBenoit authored Dec 12, 2024
1 parent 6659048 commit 50b8485
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 26 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/release-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
3 changes: 3 additions & 0 deletions crates/ironrdp-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions crates/now-proto-pdu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 2 additions & 7 deletions ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 50b8485

Please sign in to comment.