From 78b349610f59cdd56124f731d1d8d35360ad265b Mon Sep 17 00:00:00 2001 From: Daniel Lovell Date: Wed, 2 Oct 2024 00:51:24 -0700 Subject: [PATCH] build.yaml copy Tools/ dir into ZIP/TAR, schedule nightly --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4639db3..9c4dc66 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,6 +9,8 @@ on: pull_request: branches: - release + schedule: + - cron: '0 2 * * *' # Run at 2 AM UTC every day jobs: buildForAllSupportedPlatforms: @@ -41,6 +43,10 @@ jobs: buildName: micromissiles-${{ github.ref_name }}-${{ matrix.targetPlatform }} versioning: Semantic targetPlatform: ${{ matrix.targetPlatform }} + - name: Copy Tools Directory + run: | + mkdir -p build/${{ matrix.targetPlatform }}/Tools + cp -r Tools/ build/${{ matrix.targetPlatform }}/Tools/ - if: matrix.targetPlatform == 'StandaloneWindows64' run: cd build/${{ matrix.targetPlatform }} && sudo zip -r ../build-${{ matrix.targetPlatform }}.zip * && cd - - if: matrix.targetPlatform == 'StandaloneWindows64'