Skip to content

Commit

Permalink
add publish check job
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Mar 10, 2024
1 parent 9e1ef75 commit 1e06f04
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check

test:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- publish-*

jobs:
publish_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: package

0 comments on commit 1e06f04

Please sign in to comment.