From 6e130373609060501518c3d4ad5dd5053aa5c18b Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 28 Aug 2025 12:41:33 -0500 Subject: [PATCH] does this work? --- .forgejo/workflows/images-per-step.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/images-per-step.yaml b/.forgejo/workflows/images-per-step.yaml index 5a14456..317d2da 100644 --- a/.forgejo/workflows/images-per-step.yaml +++ b/.forgejo/workflows/images-per-step.yaml @@ -3,17 +3,22 @@ jobs: test: runs-on: ubuntu-latest steps: - - run: 'distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro"' + - name: Host distro + run: | + distro=$(. /etc/os-release && echo "$PRETTY_NAME") + echo "Hello from host: $distro" - name: Run something in Alpine uses: docker://alpine:3.20 with: - args: | - export distro=$(. /etc/os-release && echo $PRETTY_NAME) + args: -lc ' + distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro" + ' - name: Run something in ArchBtw uses: docker://archlinux:base with: - args: | - export distro=$(. /etc/os-release && echo $PRETTY_NAME) + args: -lc ' + distro=$(. /etc/os-release && echo $PRETTY_NAME) echo "Hello from inside $distro" + ' - run: echo "Back on the host runner again"