build.yaml copy Tools/ dir into ZIP/TAR, schedule nightly
parent
6ada38fb73
commit
78b349610f
|
@ -9,6 +9,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- release
|
- release
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * *' # Run at 2 AM UTC every day
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildForAllSupportedPlatforms:
|
buildForAllSupportedPlatforms:
|
||||||
|
@ -41,6 +43,10 @@ jobs:
|
||||||
buildName: micromissiles-${{ github.ref_name }}-${{ matrix.targetPlatform }}
|
buildName: micromissiles-${{ github.ref_name }}-${{ matrix.targetPlatform }}
|
||||||
versioning: Semantic
|
versioning: Semantic
|
||||||
targetPlatform: ${{ matrix.targetPlatform }}
|
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'
|
- if: matrix.targetPlatform == 'StandaloneWindows64'
|
||||||
run: cd build/${{ matrix.targetPlatform }} && sudo zip -r ../build-${{ matrix.targetPlatform }}.zip * && cd -
|
run: cd build/${{ matrix.targetPlatform }} && sudo zip -r ../build-${{ matrix.targetPlatform }}.zip * && cd -
|
||||||
- if: matrix.targetPlatform == 'StandaloneWindows64'
|
- if: matrix.targetPlatform == 'StandaloneWindows64'
|
||||||
|
|
Loading…
Reference in New Issue