Skip to content

Commit

Permalink
Add build to artifact and fix duplicate artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev committed Jan 25, 2024
1 parent 27d10e5 commit 84138bb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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/')
Expand All @@ -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/*
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 84138bb

Please sign in to comment.