diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 000000000..8ad1b197d --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,11 @@ +name: Doxygen Generation +on: + push: + branches: [main] + workflow_dispatch: +jobs: + doxygen-generation: + runs-on: ubuntu-latest + steps: + - name: Doxygen generation + uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main diff --git a/.github/workflows/memory_statistics.yml b/.github/workflows/memory_statistics.yml deleted file mode 100644 index 9c778c763..000000000 --- a/.github/workflows/memory_statistics.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Memory statistics - -on: - workflow_dispatch: - -jobs: - memory_statistics: - name: Calculate object sizes - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' - - name: Measure sizes - uses: FreeRTOS/CI-CD-Github-Actions/memory_statistics@main - with: - config: .github/memory_statistics_config.json - - name: Upload table - uses: actions/upload-artifact@v2 - with: - name: size_table - path: size_table.md diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release.yml similarity index 94% rename from .github/workflows/release-workflow.yml rename to .github/workflows/release.yml index 2585fd26e..1d164d67b 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release.yml @@ -116,9 +116,21 @@ jobs: with: name: coreMQTT-${{ github.event.inputs.version_number }}.zip path: zip-check/coreMQTT-${{ github.event.inputs.version_number }}.zip + deploy-doxygen: + needs: tag-commit + name: Deploy doxygen documentation + runs-on: ubuntu-latest + steps: + - name: Doxygen generation + uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main + with: + ref: ${{ github.event.inputs.version_number }} + add_release: "true" create-release: + needs: + - create-zip + - deploy-doxygen if: ${{ ( github.event.inputs.delete_existing_tag_release == 'true' && success() ) || ( github.event.inputs.delete_existing_tag_release == 'false' && always() ) }} - needs: create-zip name: Create Release and Upload Release Asset runs-on: ubuntu-latest steps: