From b8855ed732e0c9eb40f932e8739c08163fdb7dfc Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 29 Sep 2020 23:42:41 +0200 Subject: [PATCH] CI: upload artifacts Set retention-days of all artifacts to 14. --- .github/workflows/android_builds.yml | 6 +++++ .github/workflows/ios_builds.yml | 6 +++++ .github/workflows/javascript_builds.disabled | 6 +++++ .github/workflows/linux_builds.yml | 22 +++++++++++++++-- .github/workflows/macos_builds.yml | 12 +++++++++ .github/workflows/windows_builds.yml | 26 ++++++++------------ 6 files changed, 60 insertions(+), 18 deletions(-) diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.yml index 14157e43864..4ae92e94f10 100644 --- a/.github/workflows/android_builds.yml +++ b/.github/workflows/android_builds.yml @@ -72,3 +72,9 @@ jobs: run: | scons -j2 verbose=yes warnings=all werror=yes platform=android target=release tools=no ls -l bin/ + + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 diff --git a/.github/workflows/ios_builds.yml b/.github/workflows/ios_builds.yml index a31ae6c9181..7890922fab9 100644 --- a/.github/workflows/ios_builds.yml +++ b/.github/workflows/ios_builds.yml @@ -49,3 +49,9 @@ jobs: run: | scons -j2 verbose=yes warnings=all werror=yes platform=iphone target=release tools=no ls -l bin/ + + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 diff --git a/.github/workflows/javascript_builds.disabled b/.github/workflows/javascript_builds.disabled index 3a0673b64d9..9ad9ceddccb 100644 --- a/.github/workflows/javascript_builds.disabled +++ b/.github/workflows/javascript_builds.disabled @@ -76,3 +76,9 @@ jobs: run: | scons -j2 verbose=yes warnings=all werror=yes platform=javascript target=release tools=no use_closure_compiler=yes ls -l bin/ + + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 810ade83017..5a62fad572f 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -7,7 +7,7 @@ env: SCONS_CACHE_LIMIT: 4096 jobs: - linux-editor: + linux-editor-mono: runs-on: "ubuntu-20.04" name: Editor w/ Mono (target=release_debug, tools=yes, tests=yes) @@ -69,6 +69,12 @@ jobs: run: | ./bin/godot.linuxbsd.opt.tools.64.mono --test + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 + linux-editor-sanitizers: runs-on: "ubuntu-20.04" name: Editor with sanitizers (target=debug, tools=yes, tests=yes, use_asan=yes, use_ubsan=yes) @@ -131,7 +137,13 @@ jobs: run: | ./bin/godot.linuxbsd.tools.64s --test - linux-template: + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 + + linux-template-mono: runs-on: "ubuntu-20.04" name: Template w/ Mono (target=release, tools=no) @@ -186,3 +198,9 @@ jobs: run: | scons -j2 verbose=yes warnings=all werror=yes platform=linuxbsd target=release tools=no module_mono_enabled=yes mono_glue=no ls -l bin/ + + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 diff --git a/.github/workflows/macos_builds.yml b/.github/workflows/macos_builds.yml index f6044561256..c053f224cb6 100644 --- a/.github/workflows/macos_builds.yml +++ b/.github/workflows/macos_builds.yml @@ -57,6 +57,12 @@ jobs: run: | ./bin/godot.osx.opt.tools.64 --test + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 + macos-template: runs-on: "macos-latest" name: Template (target=release, tools=no) @@ -99,3 +105,9 @@ jobs: run: | scons -j2 verbose=yes warnings=all werror=yes platform=osx target=release tools=no ls -l bin/ + + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index b4195ea9741..8c44e82d62f 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -62,14 +62,11 @@ jobs: run: | ./bin/godot.windows.opt.tools.64.exe --test -# Build Product Upload (tested and working) -# sorry this is disabled until github can give us some more space as we would hit our limit very quickly -# tested this code and it works fine so just enable it to get them back -# - name: publishing godot windows-editor -# uses: actions/upload-artifact@v1 -# with: -# name: windows-editor (x64) -# path: bin/godot.windows.opt.tools.64.exe + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14 windows-template: runs-on: "windows-latest" @@ -115,11 +112,8 @@ jobs: scons -j2 verbose=yes warnings=all werror=yes platform=windows target=release tools=no ls -l bin/ -# Build Product Upload (tested and working) -# sorry this is disabled until github can give us some more space as we would hit our limit very quickly -# tested this code and it works fine so just enable it to get them back -# - name: publishing godot windows-template -# uses: actions/upload-artifact@v1 -# with: -# name: windows-template (x64) -# path: bin/godot.windows.opt.64.exe + - uses: actions/upload-artifact@v2 + with: + name: ${{ github.job }} + path: bin/* + retention-days: 14