You've already forked ctaphid-dispatch
mirror of
https://github.com/trussed-dev/ctaphid-dispatch.git
synced 2026-06-20 04:16:18 -07:00
19 lines
837 B
YAML
19 lines
837 B
YAML
name: Continuous delivery - test
|
|
|
|
on:
|
|
pull_request:
|
|
# opened, reopenened, synchronize are the default types for pull_request
|
|
# labeled, unlabeled ensure this check is also run if a label is added or removed
|
|
types: [opened, reopened, synchronize, labeled, unlabeled]
|
|
|
|
jobs:
|
|
test-publish:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-publish-check') }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- run: cargo publish --dry-run --package ctaphid-app
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-publish-check-ctaphid-app') }}
|
|
- run: cargo publish --dry-run --package ctaphid-dispatch
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-publish-check-ctaphid-dispatch') }}
|