Skip to content

Fix syntax error.

Fix syntax error. #68

Workflow file for this run

---
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make ci
- name: 'Execute cat /etc/*-release using default sh shell via default Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
- name: 'Execute cat /etc/*-release using bash shell via Ubuntu 22.04 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: ubuntu:22.04
shell: bash
- name: 'Execute cat /etc/*-release using bash shell via Rocky Linux 9.3 Docker container'
uses: cliffano/command-docker-action@main
with:
command: 'cat /etc/*-release'
image: rockylinux:9.3
shell: bash
- uses: iamsauravsharma/create-dotenv@v2.0.1
with:
file-path: '/tmp/.env'
env:
SOME_ENV_VAR: 'Some value'
- name: 'Display environment variables'
uses: cliffano/command-docker-action@main
with:
command: 'echo "SOME_ENV_VAR: $SOME_ENV_VAR"'
env_file: '/tmp/.env'
- name: 'Display PATH environment variable'
uses: cliffano/command-docker-action@main
with:
command: "xpath=${{ '\${{PATH}}' }} && echo $xpath"

Check failure on line 39 in .github/workflows/ci-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-workflow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 39
image: ubuntu:22.04
shell: bash
extra_path: '/some/path:/opt/workspace/bin'