Skip to content

chore: build package updates #1

chore: build package updates

chore: build package updates #1

Workflow file for this run

name: Trigger Workflows
on:
workflow_dispatch:
push:
branches:
- master
jobs:
parse-log:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get Commit Description
id: get-commit-info
run: |
updates_matrix="$(git log -1 --pretty=%b | awk '/^Update/,0 { if ($0 ~ /^ /) { sub(/:$/, "", $1); print $1 } }' | jq -R -s -c 'split("\n") | map(select(. != ""))')"
echo "updated='${updates_matrix}'" >> $GITHUB_ENV
trigger-actions:
needs: parse-log
if: env.updated != '[]'
runs-on: ubuntu-latest
strategy:
matrix:
package: ${{ fromJson(env.updated) }}
steps:
- name: Build Package
uses: .github/workflows/${{ matrix.package }}.yml