-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6830288
commit e424108
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
name: Hello World | ||
|
||
on: | ||
workflow_dispatch | ||
workflow_dispatch: | ||
inputs: | ||
release_date: | ||
description: "Date used to populated Source Release Date fields (YYYY-MM-DD)" | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: validate input | ||
run: | | ||
if [[ ${{ github.event.inputs.release_date }} ~= "" ]]; then | ||
echo "Using ${{ github.event.inputs.release_date }} for release date, continuing..." | ||
else | ||
echo "Invalid date, please use the format YYYY-MM-DD" | ||
exit 1 | ||
fi | ||
- name: Greeting | ||
run: echo "Hello World!" |