From 1fcac64004b5f1a5149b448133e9d087fc28f6b8 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Fri, 9 Apr 2021 16:22:27 -0700 Subject: [PATCH] Add a `package` job. --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1683abe..44e94ad0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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