diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-26 02:59:42 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-26 05:36:58 +0200 |
commit | 0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd (patch) | |
tree | cf45715f8bbf65a154045d9a6e249a6fcc735355 | |
parent | Added build number to artifacts name and removed symbols artifacts for non-debug configurations (diff) | |
download | AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar.gz AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar.bz2 AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar.lz AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar.xz AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.tar.zst AltCraft-0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd.zip |
-rw-r--r-- | .github/workflows/ci.yml | 3 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e5a452..bbb377c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,9 +64,6 @@ jobs: - name: Copy AC and MC assets run: cp -r $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/mc-assets/assets $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package && cp -r $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/cwd/* $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package shell: bash - - name: Download and copy fonts - run: mkdir $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package/assets/altcraft/fonts && curl -L https://github.com/google/fonts/raw/main/apache/opensans/OpenSans%5Bwdth%2Cwght%5D.ttf --output $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package/assets/altcraft/fonts/OpenSans-Regular.ttf - shell: bash - name: Upload package artifacts uses: actions/upload-artifact@v2 with: @@ -1,4 +1,5 @@ cwd/assets/minecraft +cwd/assets/altcraft/fonts/ build/ #CLion diff --git a/CMakeLists.txt b/CMakeLists.txt index e7d166a..4ad24cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,3 +212,5 @@ endif() if(MSVC AND CMAKE_BUILD_TYPE MATCHES Release) set_target_properties(AltCraft PROPERTIES WIN32_EXECUTABLE ON) endif() + +file(DOWNLOAD https://github.com/google/fonts/raw/main/apache/opensans/OpenSans%5Bwdth%2Cwght%5D.ttf ${CMAKE_SOURCE_DIR}/cwd/assets/altcraft/fonts/OpenSans-Regular.ttf) |