Skip to content

Commit 101bde8

Browse files
committed
Add cargo release workflow
1 parent e0e0254 commit 101bde8

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 🚀 Cargo Release Automation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Cargo Package Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: '📥 Checkout Repository'
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
token: ${{ secrets.AUTO_RELEASE_TOKEN }}
18+
19+
- name: '🦀️ Install Rust Toolchain'
20+
uses: dtolnay/rust-toolchain@stable
21+
22+
- name: '🔖 Run Release Automation'
23+
uses: release-plz/[email protected]
24+
with:
25+
command: release
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.AUTO_RELEASE_TOKEN }}
28+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "udbserver"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Bet4 <[email protected]>"]
55
description = "Provide Unicorn emulator with a debug server"
66
license = "MIT"

0 commit comments

Comments
 (0)