From b884161169b87df52e997b5408b604301d3a6039 Mon Sep 17 00:00:00 2001 From: okuzawats Date: Mon, 12 Sep 2022 22:49:25 +0900 Subject: [PATCH] fixed sample workflow to add title (#9) --- .github/workflows/example.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index c70c144..657990f 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -15,9 +15,11 @@ jobs: - name: set arguments id: arguments run: | + echo '::set-output name=title::"what time is it now?"' echo '::set-output name=message::"it is ${{ env.CURRENT_DATETIME }} now."' - uses: okuzawats/chatwork-messaging-action@v0.2 with: apiToken: ${{ secrets.API_KEY }} roomId: ${{ secrets.ROOM_ID }} + title: ${{ steps.arguments.outputs.title }} message: ${{ steps.arguments.outputs.message }}