From 5ec7ea59011adcd5c70bb22e8912d7fbf567863b Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 26 Jun 2021 05:47:20 +0500 Subject: Added build number to artifacts name and removed symbols artifacts for non-debug configurations --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7404806..0e5a452 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,9 +48,9 @@ jobs: run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.build_type }} --target AltCraft - name: Upload debug symbols artifacts uses: actions/upload-artifact@v2 - if: ${{ runner.os == 'Windows' }} + if: ${{ runner.os == 'Windows' && contains(matrix.build_type, 'Deb') }} with: - name: symbols-${{ matrix.platform.name }}-${{ matrix.build_type }} + name: symbols-nightly-b${{ github.run_number }}-${{ matrix.platform.name }}-${{ matrix.build_type }} path: ${{ github.workspace }}/build/**/*.pdb - name: Copy binaries for packaging run: mkdir $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package && find $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/build -type f \( -name "*.exe" -o -name "*.dll" -o -name "*.dylib" -o -name "*.so" \) -exec cp {} $(echo "${{ github.workspace }}"|sed 's/\\/\//g')/package \; @@ -70,6 +70,6 @@ jobs: - name: Upload package artifacts uses: actions/upload-artifact@v2 with: - name: AltCraft-${{ matrix.platform.name }}-${{ matrix.build_type }} + name: AltCraft-nightly-b${{ github.run_number }}-${{ matrix.platform.name }}-${{ matrix.build_type }} path: ${{ github.workspace }}/package \ No newline at end of file -- cgit v1.2.3 From 0a8e4a05ea24d4adc019a49bb2ba0a225f5139dd Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sat, 26 Jun 2021 05:59:42 +0500 Subject: Moved font downloading to CMake --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) (limited to '.github') 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: -- cgit v1.2.3