From 84138bb92fba5af8a6eca6f0f0b0f2b1d16c4d10 Mon Sep 17 00:00:00 2001 From: Jelle Meeus Date: Thu, 25 Jan 2024 14:30:44 +0100 Subject: [PATCH] Add build to artifact and fix duplicate artifact name --- .github/workflows/main.yml | 12 +++++++++++- README.md | 8 ++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f22975..836727e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,6 +23,11 @@ jobs: working-directory: ./english run: | mkdir -p build output + - name: Upload data as artifact + uses: actions/upload-artifact@v4 + with: + name: english-data + path: english/data - name: Create format files with Python working-directory: ./english run: | @@ -70,7 +75,7 @@ jobs: - name: Upload tex-to-pdf as artifact uses: actions/upload-artifact@v4 with: - name: english-pdf-from-html + name: english-pdf-from-tex path: english/format/*.pdf - name: Move pdfs from format/ to /output/ if: startsWith(github.ref, 'refs/tags/') @@ -80,7 +85,12 @@ jobs: uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: + body: | + in this Release + - extracted data found in `.pkl`, `.csv`, `.json` format + - formatted/styled data in `.pdf` and `.html` format. files: | english/output/* + english/data/* diff --git a/README.md b/README.md index f9881fe..12c297a 100644 --- a/README.md +++ b/README.md @@ -10,24 +10,24 @@ The word lists contain the following points of data * Lexical spelling (text) (optional) * Pronounciation (audio) (optional) -This project contains scripts to extract data and formatting. +This project contains scripts to extract data and formatting. ## Languages so far: * English: see README.md in [`./english/`](./english) ## Data -Extracted data is hosted seperately on mediafire and can be +Extracted data can be found in formats `.pkl`, `.csv`, `.json` Formatted lists in `/output` are formatted alphabetically, by CEFR rating, random and viewable in `.pdf` and `.html` format. -https://www.mediafire.com/folder/ik6n07bumen6n/words +See release or see hosted seperately https://www.mediafire.com/folder/ik6n07bumen6n/words ## Sample outputs English -1. grouped by CEFR alphabetical order +1. grouped by CEFR alphabetical order ![by_cefr_img_sample](english/img/oxford_5000_exclusive_by_cefr_sample.jpg) [by_cefr_pdf_sample](english/img/oxford_5000_exclusive_by_cefr_sample.pdf)