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 | patch | `0.1.0` → `0.1.1` | --- ### Release Notes <details> <summary>t.behrendt/actions (https://gitea.t000-n.de/t.behrendt/actions)</summary> ### [`v0.1.1`](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.0...0.1.1) [Compare Source](https://gitea.t000-n.de/t.behrendt/actions/compare/0.1.0...0.1.1) </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYWN0aW9uIiwiZGVwcyJdfQ==--> Reviewed-on: #12 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@9841c96e72d4fc1ecec620e91e213895341cce86 # 0.1.22
|
|
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@d9f83ca84e1cbac7de9d1986cb3a7e0c54434e6a # 0.1.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 }}
|