From d15400c2b221ca79fe13aef336ad48846a45f78b Mon Sep 17 00:00:00 2001 From: "A. Gregory Rabil" Date: Wed, 1 Jan 2025 15:15:13 -0500 Subject: [PATCH] Update ipaddr.yml Cleanup workflow file --- .github/workflows/ipaddr.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ipaddr.yml b/.github/workflows/ipaddr.yml index 0355fdd..f661e5a 100644 --- a/.github/workflows/ipaddr.yml +++ b/.github/workflows/ipaddr.yml @@ -1,37 +1,21 @@ -# This is a basic workflow to help you get started with Actions +# Simple workflow to output the IP address of the runner name: IP Addr # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the $default-branch branch - #push: - # branches: [ $default-branch ] - #pull_request: - # branches: [ $default-branch ] - # 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 "build" - build: + # 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: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - # Runs a single command using the runners shell - name: Get the IP address of the runner run: ip addr - - # Runs a set of commands using the runners shell - #- name: Run a multi-line script - # run: | - # echo Add other actions to build, - # echo test, and deploy your project. -