Skip to content

Commit

Permalink
Added obi1kenobi/cargo-semver-checks to the publishing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 18, 2024
1 parent 9409f70 commit acca165
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-libosdp-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
with:
toolchain: stable
override: true
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: libosdp-sys
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p libosdp-sys
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-libosdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
with:
toolchain: stable
override: true
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: libosdp
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p libosdp
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-osdpctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: echo "TAG=${REL_TAG}" >> "${GITHUB_ENV}"
env:
REL_TAG: ${{ github.ref_name }}
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
package: osdpctl
- name: "Publish crate"
run: |
cargo publish --token ${CRATES_TOKEN} -p osdpctl
Expand Down

0 comments on commit acca165

Please sign in to comment.