-
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
561d0ee
commit 9781d7b
Showing
1 changed file
with
6 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 |
---|---|---|
|
@@ -18,9 +18,14 @@ jobs: | |
- name: Read VERSION file | ||
id: contents | ||
run: echo "contents=$(cat README.md)" >> $$GITHUB_STATE | ||
- name: Gets latest created release info | ||
id: release_info | ||
uses: jossef/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- id: set-matrix | ||
run: | | ||
echo "{\"embeds\":[{\"title\":\"Hello\",\"url\":\"https://www.github.com\",\"description\":\"World\"}]}" >> generated.json | ||
echo "{\"embeds\":[{\"title\":\"New Release: ${{steps.release_info.outputs.name}}\",\"url\":\"${{steps.release_info.outputs.html_url}}\",\"description\":\"World\"}]}" >> generated.json | ||
cat generated.json | ||
- name: Discord Webhook Action | ||
uses: tsickert/[email protected] | ||
|