does this work?
All checks were successful
/ test (push) Successful in 17s

This commit is contained in:
Waylon Walker 2025-08-28 12:41:33 -05:00
parent 69596e1794
commit 6e13037360

View file

@ -3,17 +3,22 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 - name: Run something in Alpine
uses: docker://alpine:3.20 uses: docker://alpine:3.20
with: with:
args: | args: -lc '
export distro=$(. /etc/os-release && echo $PRETTY_NAME) distro=$(. /etc/os-release && echo $PRETTY_NAME)
echo "Hello from inside $distro" echo "Hello from inside $distro"
'
- name: Run something in ArchBtw - name: Run something in ArchBtw
uses: docker://archlinux:base uses: docker://archlinux:base
with: with:
args: | args: -lc '
export distro=$(. /etc/os-release && echo $PRETTY_NAME) distro=$(. /etc/os-release && echo $PRETTY_NAME)
echo "Hello from inside $distro" echo "Hello from inside $distro"
'
- run: echo "Back on the host runner again" - run: echo "Back on the host runner again"