Skip to content

Commit 7fefd4b

Browse files
committed
chore(release): 0.19.3
1 parent d387979 commit 7fefd4b

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Package Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# CARGO PUBLISH
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
- name: Cache cargo registry
15+
uses: actions/cache@v1
16+
with:
17+
path: ~/.cargo/registry
18+
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
19+
- name: Cache cargo index
20+
uses: actions/cache@v1
21+
with:
22+
path: ~/.cargo/git
23+
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
24+
- name: Cache cargo build
25+
uses: actions/cache@v1
26+
with:
27+
path: target
28+
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
29+
30+
- name: Cargo login
31+
run: cargo login ${{ secrets.CRATES_TOKEN }}
32+
33+
- name: Cargo publish
34+
run: cargo publish

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
@@ -2,7 +2,7 @@
22
name = "dprint-plugin-typescript"
33
description = "TypeScript code formatting plugin for Dprint."
44
keywords = ["formatting", "formatter", "typescript"]
5-
version = "0.19.2"
5+
version = "0.19.3"
66
authors = ["David Sherret <[email protected]>"]
77
edition = "2018"
88
license = "MIT"

0 commit comments

Comments
 (0)