Skip to content

Commit

Permalink
Add a package job.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Apr 9, 2021
1 parent db14296 commit 1fcac64
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@ jobs:
- run: |
cargo doc --all-features
package:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: windows-latest

steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal

- uses: actions/checkout@v2

- run: cargo package


test:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
Expand Down

0 comments on commit 1fcac64

Please sign in to comment.