Skip to content

Commit

Permalink
github workflow to release crate
Browse files Browse the repository at this point in the history
  • Loading branch information
FujiHaruka committed Mar 27, 2022
1 parent 44f946b commit 50cb249
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
- os: ubuntu-latest
artifact_name: notion-into-sqlite
asset_name: notion-into-sqlite-linux-amd64
- os: windows-latest
artifact_name: notion-into-sqlite.exe
asset_name: notion-into-sqlite-windows-amd64
- os: macos-latest
artifact_name: notion-into-sqlite
asset_name: notion-into-sqlite-macos-amd64
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/release_crate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Crate

on:
push:
tags:
- '*'

jobs:
test:
name: run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit 50cb249

Please sign in to comment.