From d44e54e7686cd7bcc0a3ce44249342b0fc22b453 Mon Sep 17 00:00:00 2001 From: Kohei Morita Date: Wed, 9 Sep 2020 01:43:02 +0900 Subject: [PATCH] add workflow for upload zip --- .github/workflows/artifact.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/artifact.yml diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml new file mode 100644 index 0000000..01c6aa9 --- /dev/null +++ b/.github/workflows/artifact.yml @@ -0,0 +1,27 @@ +name: Upload artifact + +on: [push, pull_request] + +jobs: + doc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.7 + uses: actions/setup-python@v2 + with: + python-version: 3.7 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install --user -r tools/requirements.txt + - name: generate doc + run: | + cd tools && + ./generate_document.py && + ./generate_zip.py + - name: Upload zip + uses: actions/upload-artifact@v2 + with: + name: ac-library + path: tools/ac-library.zip \ No newline at end of file