Skip to content

Commit 397461a

Browse files
authored
Merge pull request #12 from pbs-data-solutions/publish-action
Update publish action
2 parents e439d86 + c0f0a87 commit 397461a

File tree

2 files changed

+18
-78
lines changed

2 files changed

+18
-78
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
release:
3+
types:
4+
- published
5+
6+
name: Publish binaries to release
7+
8+
jobs:
9+
cargo-publish:
10+
name: Publish to crates.io
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Install Rust
15+
run: |
16+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
17+
- name: Publish
18+
run: cargo publish --token ${{ secrets.CARGO_API_TOKEN }}

.github/workflows/publish_binaries.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)