Skip to content

Commit

Permalink
Publish to crates.io when released (#114)
Browse files Browse the repository at this point in the history
* publish to crates.io when released

* Bump version to 0.3.3

* rename secretes

* use dtolnay/rust-toolchain to install Rust
  • Loading branch information
katayama8000 committed Apr 8, 2024
1 parent 11d842a commit bdc185f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to crates.io

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Login to crates.io
run: cargo login ${{ secrets.CRATES_IO_TOKEN_FOR_EXPO_PUSH_NOTIFICATION_CLIENT }}

- name: Publish to crates.io
run: cargo publish
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "expo_push_notification_client"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
readme = "README.md"
authors = ["katayama8000 <https://github.com/katayama8000>"]
Expand Down

0 comments on commit bdc185f

Please sign in to comment.