Forgejo Actions #5
1 changed files with 6 additions and 2 deletions
|
|
@ -40,7 +40,11 @@ jobs:
|
||||||
if: steps.changes.outputs.changed == 'true'
|
if: steps.changes.outputs.changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
HOSTS=$(nix eval --json .#colmena --apply 'x: builtins.filter (n: n != "meta" && builtins.elem "lxc" (x.${n}.deployment.tags or [])) (builtins.attrNames x)')
|
HOSTS=$(nix eval --json .#colmena --apply 'x: builtins.filter (n: n != "meta" && builtins.elem "lxc" (x.${n}.deployment.tags or [])) (builtins.attrNames x)')
|
||||||
echo "hosts="$HOSTS >> $FORGEJO_OUTPUT
|
{
|
||||||
|
echo 'hosts<<EOF'
|
||||||
|
echo "$HOSTS"
|
||||||
|
echo 'EOF'
|
||||||
|
} >> $FORGEJO_OUTPUT
|
||||||
echo "Discovered hosts: $HOSTS"
|
echo "Discovered hosts: $HOSTS"
|
||||||
|
|
||||||
- name: Upload flake.lock
|
- name: Upload flake.lock
|
||||||
|
|
@ -62,7 +66,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Debug HOSTS
|
- name: Debug HOSTS
|
||||||
run: |
|
run: |
|
||||||
echo "HOSTS: "${{ fromJson(needs.check-updates.outputs.hosts) }}
|
echo 'HOSTS: ${{ needs.check-updates.outputs.hosts }}'
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue