Skip to content

Add icon and color to action metadata #16

Add icon and color to action metadata

Add icon and color to action metadata #16

Workflow file for this run

---
name: CI
on: [push, pull_request]
env:
NUMBERS: '1, 2, 3, 4, 5, 6, 7, 8, 9, 10'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
max-parallel: 1
matrix:
# Available Python versions:
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python: ['3.8', '3.10', '3.12']
name: python ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: make ci
- name: 'Count from 1 to 10 with space-separated items'
uses: cliffano/command-loop-action@main
with:
items: '1 2 3 4 5 6 7 8 9 10'
command: 'echo "Count $ITEM"'
- name: 'Count from 1 to 10 with space-separated items'
uses: cliffano/command-loop-action@main
with:
items: '1,2,3,4,5,6,7,8,9,10'
command: 'echo "Count $ITEM"'
- name: 'Count from 1 to 10 with items from an environment variable'
uses: cliffano/command-loop-action@main
with:
items: ${{ env.NUMBERS }}
command: 'echo "Count $ITEM"'
- name: 'Count from 1 to 10 with colon-separated items'
uses: cliffano/command-loop-action@main
with:
items: '1:2:3:4:5:6:7:8:9:10'
command: 'echo "Count $ITEM"'
delimiters: ':'