Skip to content

Commit

Permalink
Freshen workflows for Aug 2024 delivery
Browse files Browse the repository at this point in the history
  • Loading branch information
timothywarner committed Aug 7, 2024
1 parent 1443bf6 commit 23ac9ec
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/reusable-workflow1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Reusable Workflow 1

on:
workflow_dispatch:

jobs:
trigger_hello_world:
runs-on: ubuntu-latest

steps:
- name: Trigger Hello World Workflow
uses: timothywarner-org/.github/.github/workflow-templates/hello-world-shared.yml@main
Binary file modified warner-github-actions-cert-prep.pptx
Binary file not shown.
31 changes: 31 additions & 0 deletions workflows_dev/hello-world-shared.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Hello World Shared

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Run Hello World
run: node hello-world.js

- name: Display Output
run: echo "Hello, World!"

- name: Log Output
run: echo "::set-output name=message::Hello, World!"

0 comments on commit 23ac9ec

Please sign in to comment.