diff options
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |