Skip to content

Commit

Permalink
Update ci_build.yml
Browse files Browse the repository at this point in the history
* Use different artifact for fonts
  • Loading branch information
lpugin authored Nov 6, 2024
1 parent 9032731 commit e1dde24
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ env:
# build artifacts
DOC_BUILD: doc-build
TOOLKIT_BUILD: toolkit-build
FONTS: fonts

# doxygen
DOXYGEN_REPO: ${{ github.repository_owner }}/verovio-doxygen # works from rism-digital and from forks
Expand Down Expand Up @@ -303,7 +304,7 @@ jobs:
- name: Upload font data artifact
uses: actions/[email protected]
with:
name: ${{ env.TOOLKIT_BUILD }}-${{ github.run_id }}
name: ${{ env.FONTS }}-${{ github.run_id }}
path: ${{ github.workspace }}/${{ env.TEMP_DIR }}

##################################
Expand Down Expand Up @@ -371,10 +372,20 @@ jobs:
name: ${{ env.TOOLKIT_BUILD }}-${{ github.run_id }}
path: artifacts/${{ env.TOOLKIT_BUILD }}

- name: Copy artifacts to gh-pages
- name: Copy the toolkit artifacts to gh-pages
run: |
cp -r artifacts/$TOOLKIT_BUILD/* $GH_PAGES_DIR/javascript/develop/
- name: Download FONTS artifacts
uses: actions/[email protected]
with:
name: ${{ env.FONTS }}-${{ github.run_id }}
path: artifacts/${{ env.FONTS }}

- name: Copy the fonts artifacts to gh-pages
run: |
cp -r artifacts/$FONTS/* $GH_PAGES_DIR/javascript/develop/
- name: Check git status before commit
working-directory: ${{ env.GH_PAGES_DIR }}
run: |
Expand Down

0 comments on commit e1dde24

Please sign in to comment.