Update build-and-test.yml

This commit is contained in:
Jett 2023-05-13 20:43:14 +01:00 committed by GitHub
parent 677a0c9bdb
commit 844516f159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,9 @@ name: CI
on: on:
push: push:
branches: [ main ] branches: [ main, automation ]
pull_request: pull_request:
branches: [ main ] branches: [ main, automation ]
jobs: jobs:
build-and-test: build-and-test:
@ -36,22 +36,16 @@ jobs:
testPreset: "ci-${{matrix.os}}" testPreset: "ci-${{matrix.os}}"
- name: artifacts - name: artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: ${{ github.ref == 'ref/head/main' }}
with: with:
name: build-${{matrix.os}} name: build-${{matrix.os}}
path: | path: |
build build/*Server*
!build/tests build/*.ini
!build/Testing build/*.so
!build/CMakeFiles build/*.dll
!build/DartConfiguration.tcl build/vanity/
!build/CTestTestfile.cmake build/navmeshes/
!build/CMakeCache.txt build/migrations/
!build/build.ninja build/*.dcf
!build/_deps !build/*.pdb
!build/cmake_install.cmake !build/d*/
!build/*.a
!build/*.lib
!build/*.dir
!build/*.vcxproj
!build/*.vcxproj.filters