Skip to content

Commit 2863577

Browse files
committed
Release crates
1 parent bc5378a commit 2863577

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release-crates
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
release-crates:
7+
runs-on: ubuntu-latest
8+
name: Release Rust crate
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: bahmutov/npm-install@v1.1.0
12+
- name: Install Rust
13+
uses: actions-rs/toolchain@v1
14+
with:
15+
toolchain: stable
16+
profile: minimal
17+
override: true
18+
- run: cargo login ${CRATES_IO_TOKEN}
19+
env:
20+
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
21+
- run: |
22+
cargo install cargo-workspaces
23+
cargo workspaces publish --from-git -y

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
[package]
88
authors = ["Devon Govett <devongovett@gmail.com>"]
99
name = "parcel_css"
10-
version = "1.0.0-alpha.22"
10+
version = "1.0.0-alpha.23"
1111
description = "A CSS parser, transformer, and minifier"
1212
license = "MPL-2.0"
1313
edition = "2021"

0 commit comments

Comments
 (0)