Skip to content

Ensure workspace bin existence. #70

Ensure workspace bin existence.

Ensure workspace bin existence. #70

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: 'mkdir -p /opt/workspace/bin/ && touch /opt/workspace/bin/some-exec && chmod +x /opt/workspace/bin/some-exec && which some-exec'
image: ubuntu:22.04
shell: bash
extra_path: '/some/path:/opt/workspace/bin'