-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
29 lines (29 loc) · 988 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: 'Do Epic Shit at Xpirit'
description: 'Greet someone'
author: 'Xpirit'
branding:
icon: 'alert-circle'
color: orange
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
runs:
using: "composite"
steps:
- name: Greet the new Xpiriter
shell: bash
env:
WHO_TO_GREET: ${{ inputs.who-to-greet }}
run: echo "Hello $WHO_TO_GREET."
- name: Ascii art logo
shell: bash
run: cat ${{ github.action_path }}/do-epic-shit.txt
- name: Send output to the job summary
shell: bash
run: |
echo "What is Epic for you? Discover it at Xpirit!" >> $GITHUB_STEP_SUMMARY
echo "Follow the link: [Do epic shit at Xpirit](https://xpirit.com/dna/)." >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "![Do epic shit logo](https://raw.githubusercontent.com/XpiritBV/doepicshit/main/Xpirit-DoEpicShit-White.jpg)" >> $GITHUB_STEP_SUMMARY