Skip to content

IP Addr

IP Addr #2

Workflow file for this run

# Simple workflow to output the IP address of the runner
name: IP Addr
# Controls when the workflow will run
on:
# 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:
# This workflow contains a single job called "getip"
getip:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Get the IP address of the runner
run: ip addr