diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57017ab..81f364e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,15 +4,29 @@ on: workflow_dispatch: pull_request: push: + tags: + - "*" branches: - main schedule: - cron: "0 12 * * 0" jobs: - checks: - uses: libhal/ci/.github/workflows/library.yml@3.0.2 + ci: + uses: libhal/ci/.github/workflows/library.yml@4.0.0 secrets: inherit + devices: - uses: libhal/ci/.github/workflows/deploy.yml@3.0.2 + uses: libhal/ci/.github/workflows/deploy.yml@4.0.0 secrets: inherit + + release: + needs: [ci, devices] + if: startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-22.04 + steps: + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + generate_release_notes: true diff --git a/README.md b/README.md index f1362fa..19549bf 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,12 @@ libhal utility functions, interface wrappers, and types to help manage usage of embedded resources. -
- [![✅CI](https://github.com/libhal/libhal-util/actions/workflows/ci.yml/badge.svg)](https://github.com/libhal/libhal-util/actions/workflows/ci.yml) [![coverage](https://libhal.github.io/libhal-util/coverage/coverage.svg)](https://libhal.github.io/libhal-util/coverage/) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b084e6d5962d49a9afcb275d62cd6586)](https://www.codacy.com/gh/libhal/libhal-util/dashboard?utm_source=github.com&utm_medium=referral&utm_content=libhal/libhal-util&utm_campaign=Badge_Grade) [![GitHub stars](https://img.shields.io/github/stars/libhal/libhal-util.svg)](https://github.com/libhal/libhal-util/stargazers) [![GitHub forks](https://img.shields.io/github/forks/libhal/libhal-util.svg)](https://github.com/libhal/libhal-util/network) [![GitHub issues](https://img.shields.io/github/issues/libhal/libhal-util.svg)](https://github.com/libhal/libhal-util/issues) -[![Latest Version](https://libhal.github.io/libhal-util/latest_version.svg)](https://github.com/libhal/libhal-util/blob/main/conanfile.py) -[![ConanCenter Version](https://repology.org/badge/version-for-repo/conancenter/libhal-util.svg)](https://conan.io/center/libhal-util) - -
## [📚 Software APIs](https://libhal.github.io/libhal-util/api)