File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,17 @@ jobs:
1414 - name : List Commits
1515 id : list-commits
1616 run : |
17- SUMMARY="$(./scripts/list-unreleased-commits.sh)"
18- echo "summary<<EOF" >> $GITHUB_OUTPUT
19- echo "$SUMMARY" >> $GITHUB_OUTPUT
20- echo "EOF" >> $GITHUB_OUTPUT
17+ ./scripts/list-unreleased-commits.sh > summary.txt
2118
2219 - name : Discord notification
23- uses : Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554
20+ run : |
21+ curl -X POST \
22+ -F "payload_json={\"content\": \"${{ env.MESSAGE }}\"}" \
23+ 24+ $DISCORD_WEBHOOK
2425 env :
2526 DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK_UNRELEASED_COMMITS }}
26- with :
27- args : |
28- ```
29- ${{ steps.list-commits.outputs.summary }}
30- ```
31-
27+ MESSAGE : |
3228 If a package needs released, please [run the workflow](https://github.com/wxt-dev/wxt/actions/workflows/release.yml).
3329
3430 Before running, consider:
You can’t perform that action at this time.
0 commit comments