Skip to content

fix(aur: mkinitcpio-colors-git): πŸ› Fix the package #147

fix(aur: mkinitcpio-colors-git): πŸ› Fix the package

fix(aur: mkinitcpio-colors-git): πŸ› Fix the package #147

Workflow file for this run

name: 🎑 CI
on:
push:
paths:
- '.github/workflows/CI.yml'
- '.github/workflows/_test-choco-package.yml'
- 'packages/**'
workflow_dispatch:
jobs:
choco:
uses: kamack38/packages/.github/workflows/_test-choco-package.yml@main
with:
packages: >-
[
'7tt',
'action',
'blitz.gg',
'borderlessminecraft',
'croc',
'dcforoffice',
'jarfix',
'leagueoflegendseune',
'nvm.install',
'onefetch',
'portmaster',
'shfmt',
'tcno-acc-switcher',
'tree-sitter',
'windhawk',
'valorant',
]
generate-aur-matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate matrix
id: gen-matrix
run: |
echo "packages=$(find ./packages/ -type f -name '*PKGBUILD' -not -path '*spacedrive*' -not -path '*shfmt-bin*' | sed -r 's|/[^/]+$||' | sort | uniq | cut -f3 -d'/' | jq -R . | jq -cs .)" >> $GITHUB_OUTPUT
echo "Generated matrix: $(find ./packages/ -type f -name '*PKGBUILD' -not -path '*spacedrive*' -not -path '*shfmt-bin*' | sed -r 's|/[^/]+$||' | sort | uniq | cut -f3 -d'/' | jq -R . | jq -cs .)"
outputs:
packages: ${{ steps.gen-matrix.outputs.packages }}
aur:
runs-on: ubuntu-latest
needs: generate-aur-matrix
strategy:
fail-fast: false
matrix:
pkgname: ${{ fromJson(needs.generate-aur-matrix.outputs.packages) }}
steps:
- name: πŸ“š Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: πŸ› οΈ Check PKGBUILD
id: build-test
uses: ouuan/pkgbuild-action@master
with:
path: ./packages/${{ matrix.pkgname }}