Skip to content

Commit

Permalink
eleganter download of artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Aug 24, 2023
1 parent f3e4677 commit 3c21947
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Download Book
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
name: book
path: .book

- uses: actions/download-artifact@v3
with:
name: sphinx
path: .book/artifacts/sphinx

- uses: actions/download-artifact@v3
with:
name: tests
path: .book/artifacts/tests

- name: GitHub Pages action
uses: JamesIves/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [cvxmarkowitz](http://www.cvxgrp.org/cvxmarkowitz/)
# [cvxmarkowitz](http://www.cvxgrp.org/cvxmarkowitz/book)

[![PyPI version](https://badge.fury.io/py/cvxmarkowitz.svg)](https://badge.fury.io/py/cvxmarkowitz)
[![Apache 2.0 License](https://img.shields.io/badge/License-APACHEv2-brightgreen.svg)](https://github.com/cvxgrp/cvxmarkowitz/blob/master/LICENSE)
Expand Down
2 changes: 1 addition & 1 deletion book/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## Sphinx

{{ '[API]({url}/artifacts/sphinx/)'.format(url=book_url) }}
{{ '[API]({url}/sphinx/)'.format(url=book_url) }}
4 changes: 2 additions & 2 deletions book/docs/reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Timing

{{ '[Report]({url}/artifacts/tests/html-report/report.html)'.format(url=book_url) }}
{{ '[Report]({url}/tests/html-report/report.html)'.format(url=book_url) }}

## Coverage

{{ '[Coverage]({url}/artifacts/tests/html-coverage/index.html)'.format(url=book_url) }}
{{ '[Coverage]({url}/tests/html-coverage/index.html)'.format(url=book_url) }}

0 comments on commit 3c21947

Please sign in to comment.