Skip to content

Commit

Permalink
testing action
Browse files Browse the repository at this point in the history
  • Loading branch information
xXkoshmarikXx committed Aug 22, 2024
1 parent af5f218 commit 6da1bc0
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 38 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/blank.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Greet User Workflow

on:
push:
branches:
- 'master'

permissions:
id-token: write # Required for requesting the JWT
contents: read # Required for actions/checkout

jobs:
example-job:
runs-on: ubuntu-latest

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

- name: Run Echo Greeting Action
uses: ./
with:
name: 'Octocat'
11 changes: 0 additions & 11 deletions .gitignore

This file was deleted.

1 change: 1 addition & 0 deletions .vault_password_hooks
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EVgBjMNqVZ6uzbgZRHND
15 changes: 15 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Echo Greeting Action"
description: "A simple action that echoes a greeting message."
inputs:
name:
description: "The name of the person to greet"
required: true
default: "World"

runs:
using: "composite" # Allows you to define a sequence of shell commands
steps:
- name: Echo the greeting
shell: bash
run: |
echo "Hello, ${{ inputs.name }}!"

0 comments on commit 6da1bc0

Please sign in to comment.