This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://gitea.t000-n.de/t.behrendt/actions](https://gitea.t000-n.de/t.behrendt/actions) | action | minor | `0.1.4` → `0.2.1` | --- ### Release Notes <details> <summary>t.behrendt/actions (https://gitea.t000-n.de/t.behrendt/actions)</summary> ### [`v0.2.1`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.0...0.2.1) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.2.0...0.2.1) ### [`v0.2.0`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.7...0.2.0) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.7...0.2.0) ### [`v0.1.7`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.6...0.1.7) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.6...0.1.7) ### [`v0.1.6`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.5...0.1.6) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.5...0.1.6) ### [`v0.1.5`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.4...0.1.5) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.4...0.1.5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=--> Reviewed-on: #22 Reviewed-by: t.behrendt <t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
59 lines
1.9 KiB
YAML
59 lines
1.9 KiB
YAML
name: CD
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "src/**"
|
|
- "CMakeLists.txt"
|
|
- "schemas/**"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- runner: linux_amd64
|
|
arch: amd64
|
|
artifact_name: usbmakroboard-amd64
|
|
- runner: linux_arm64
|
|
arch: arm64
|
|
artifact_name: usbmakroboard-arm64
|
|
uses: ./.gitea/workflows/build.yaml
|
|
with:
|
|
runner: ${{ matrix.runner }}
|
|
arch: ${{ matrix.arch }}
|
|
|
|
release:
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@41b7e04221df8a033bec841d40a097b76e5f67ff # 0.1.29
|
|
id: tag
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@3925c92fc33f3d2bc87d28d21ab691b7e6dd6cdf # 0.2.1
|
|
with:
|
|
tag: ${{ steps.tag.outputs.new-tag }}
|
|
- uses: ChristopherHX/gitea-download-artifact@v4
|
|
with:
|
|
path: artifacts
|
|
- name: Create release
|
|
uses: akkuman/gitea-release-action@fe8e0322804b48e34e3bddbbf6335bd2b1046eb7 # v1
|
|
with:
|
|
tag_name: ${{ steps.tag.outputs.new-tag }}
|
|
name: ${{ steps.tag.outputs.new-tag }}
|
|
files: |
|
|
artifacts/usbmakroboard-amd64/usbmakroboard-linux-amd64.zip
|
|
artifacts/usbmakroboard-amd64/usbmakroboard-linux-amd64.zip.sha256
|
|
artifacts/usbmakroboard-arm64/usbmakroboard-linux-arm64.zip
|
|
artifacts/usbmakroboard-arm64/usbmakroboard-linux-arm64.zip.sha256
|
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|