Skip to content

ubuntu-latest - unpublished version ✅ refs/heads/test-v3 ✅ milankomaj ✅ workflow_dispatch #39

ubuntu-latest - unpublished version ✅ refs/heads/test-v3 ✅ milankomaj ✅ workflow_dispatch

ubuntu-latest - unpublished version ✅ refs/heads/test-v3 ✅ milankomaj ✅ workflow_dispatch #39

Workflow file for this run

name: ubuntu-latest - unpublished version
run-name: ${{ github.workflow }} ✅ ${{ github.ref }} ✅ ${{ github.actor }} ✅ ${{ github.event_name}}
on:
workflow_dispatch:
jobs:
Shell:
name: Shell
continue-on-error: false
strategy:
fail-fast: false
max-parallel: 3
matrix:
include:
- shell: bash
- shell: sh
- shell: pwsh
runs-on: ubuntu-latest
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- name: checkout ${{ github.ref }}
id: checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: 💡 example before comands
id: systemsetup
run: |
echo ${{ github.ref }} | cut -d "/" -f3-
date
timedatectl
- name: 💡 unpublished version shell-x@v0.3
id: shell
continue-on-error: true
uses: milankomaj/shell-x@test-v3
with:
shell: ${{ matrix.shell }}
locale: sk_SK.utf8
timezone: Europe/Bratislava
comand: date && echo ${{ runner.os }}
- name: 💡 example after comands
id: example
run: |
echo "::group::example"
date
timedatectl
uname -a
echo "::endgroup::"
- name: 💡 ${{ steps.shell.outputs.inputs-outputs }}
id: composite-outputs
run: |
echo ${{ steps.shell.outputs.inputs-outputs }}
echo ${{ steps.shell.outputs.shell-outputs }}
echo ${{ steps.shell.outputs.comand-outputs }}
${{ steps.shell.outputs.comand-outputs }}
echo ${{ steps.shell.outputs.comand-outputs != ''}}
echo ${{ contains((steps.shell.outputs.comand-outputs), (steps.shell.outputs.comand-outputs != '') == 'true')}}