Skip to content

Create CI.yml

Create CI.yml #1

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
convert_to_lowercase:
runs-on: ubuntu-latest
steps:
- name: Convert repository name to lowercase
id: lowercase
run: echo "lowercase_repo=${{ github.repository }}". | tr '[:upper:]' '[:lower:]'
- name: Use the lowercase repository name
run: echo "The lowercase repository name is ${{ steps.lowercase.outputs.lowercase_repo }}"