Repository navigation
ci: rename MQTT release tags to the dmc-…-dev convention #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Room Server MQTT Firmwares | |
| permissions: | |
| contents: write | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'dmc-room-server-mqtt-*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone Repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Build Environment | |
| uses: ./.github/actions/setup-build-environment | |
| - name: Build Firmwares | |
| env: | |
| FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }} | |
| OUT_DIR: .prebuilt | |
| run: /usr/bin/env bash build.sh build-room-server-mqtt-firmwares | |
| - name: Upload Workflow Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: room-server-mqtt-firmwares | |
| path: .prebuilt | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| name: Room Server MQTT Firmware ${{ env.GIT_TAG_VERSION }} | |
| body: "" | |
| draft: true | |
| files: .prebuilt/* |