mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-24 00:48:39 +08:00
chore: update
This commit is contained in:
21
.github/actions/action.yml
vendored
Normal file
21
.github/actions/action.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: "Hello World"
|
||||
description: "Greet someone"
|
||||
inputs:
|
||||
who-to-greet: # id of input
|
||||
description: "Who to greet"
|
||||
required: true
|
||||
default: "World"
|
||||
outputs:
|
||||
random-number:
|
||||
description: "Random number"
|
||||
value: ${{ steps.random-number-generator.outputs.random-id }}
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: echo Hello ${{ inputs.who-to-greet }}.
|
||||
shell: bash
|
||||
- id: random-number-generator
|
||||
run: echo "::set-output name=random-id::$(echo $RANDOM)"
|
||||
shell: bash
|
||||
- run: ${{ github.action_path }}/goodbye.sh
|
||||
shell: bash
|
||||
1
.github/actions/goodbye.sh
vendored
Normal file
1
.github/actions/goodbye.sh
vendored
Normal file
@@ -0,0 +1 @@
|
||||
echo "Goodbye"
|
||||
Reference in New Issue
Block a user