mirror of
https://github.com/thelittlerocket/rss-to-email.git
synced 2025-09-08 13:45:13 +08:00
Update send-email.yaml
This commit is contained in:
parent
27fd44f8b5
commit
189f010de1
1 changed files with 3 additions and 3 deletions
6
.github/workflows/send-email.yaml
vendored
6
.github/workflows/send-email.yaml
vendored
|
@ -25,11 +25,11 @@ jobs:
|
|||
run: echo "LAST_SUCCESS=$(gh api -XGET repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/actions/workflows/send-email.yaml/runs --jq '.workflow_runs[0].run_started_at' -F status=success -F per_page=1)" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: npm ci
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install dayjs rss-parser
|
||||
|
||||
- run: npm ci
|
||||
|
||||
- name: Create email
|
||||
run: npm run email actionUrl=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} lastSuccess=${{ steps.last_success.outputs.LAST_SUCCESS }}
|
||||
|
|
Loading…
Add table
Reference in a new issue