Skip to content

Commit

Permalink
Update add-book.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-0 committed Nov 8, 2023
1 parent 3d401d0 commit fcf84f1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/add-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ jobs:
Build:
needs: Checks
if: ${{ github.actor == github.repository_owner }}
runs-on: ubuntu-latest
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Read
uses: mat-0/read-action@v1.0.1
uses: mat-0/read-action@1.0.1
- name: Download the book thumbnail
run: |
curl "${{env.BookThumb}}" -o "images/books/${{env.BookThumbOutput}}"
run: curl "${{env.BookThumb}}" -o "images/books/${{env.BookThumbOutput}}"
- name: Commit files
run: |
git config --local user.email "action@github.com"
Expand All @@ -39,3 +38,6 @@ jobs:
with:
issue-number: "${{ env.IssueNumber }}"
comment: "📚 You read ${{ env.BookTitle }} on ${{env.DateRead}}."



0 comments on commit fcf84f1

Please sign in to comment.