mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-13 13:21:42 +00:00
Require uploaded artifacts to be non-empty
We can get silent failures otherwise
This commit is contained in:
@@ -32,3 +32,4 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
coverage
|
coverage
|
||||||
dummy-file-to-keep-directory-structure.txt
|
dummy-file-to-keep-directory-structure.txt
|
||||||
|
if-no-files-found: error
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: win${{ matrix.bits }}
|
name: win${{ matrix.bits }}
|
||||||
path: rgbds-win${{ matrix.bits }}.zip
|
path: rgbds-win${{ matrix.bits }}.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
@@ -91,6 +92,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: macos
|
name: macos
|
||||||
path: rgbds-macos.zip
|
path: rgbds-macos.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-22.04 # Oldest supported, for best glibc compatibility.
|
runs-on: ubuntu-22.04 # Oldest supported, for best glibc compatibility.
|
||||||
@@ -118,6 +120,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: rgbds-linux-x86_64.tar.xz
|
path: rgbds-linux-x86_64.tar.xz
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: rgbds-canary-${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.buildsys }}
|
name: rgbds-canary-${{ matrix.os }}-${{ matrix.cxx }}-${{ matrix.buildsys }}
|
||||||
path: bins
|
path: bins
|
||||||
|
if-no-files-found: error
|
||||||
- name: Compute test dependency cache params
|
- name: Compute test dependency cache params
|
||||||
id: test-deps-cache-params
|
id: test-deps-cache-params
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -120,6 +121,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: rgbds-canary-macos-static
|
name: rgbds-canary-macos-static
|
||||||
path: bins
|
path: bins
|
||||||
|
if-no-files-found: error
|
||||||
- name: Compute test dependency cache params
|
- name: Compute test dependency cache params
|
||||||
id: test-deps-cache-params
|
id: test-deps-cache-params
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -188,6 +190,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: rgbds-canary-w${{ matrix.bits }}-${{ matrix.os }}
|
name: rgbds-canary-w${{ matrix.bits }}-${{ matrix.os }}
|
||||||
path: bins
|
path: bins
|
||||||
|
if-no-files-found: error
|
||||||
- name: Compute test dependency cache params
|
- name: Compute test dependency cache params
|
||||||
id: test-deps-cache-params
|
id: test-deps-cache-params
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -263,6 +266,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: rgbds-canary-mingw-win${{ matrix.bits }}
|
name: rgbds-canary-mingw-win${{ matrix.bits }}
|
||||||
path: bins
|
path: bins
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload Windows test binaries
|
- name: Upload Windows test binaries
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -270,6 +274,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
test/gfx/randtilegen.exe
|
test/gfx/randtilegen.exe
|
||||||
test/gfx/rgbgfx_test.exe
|
test/gfx/rgbgfx_test.exe
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
windows-mingw-testing:
|
windows-mingw-testing:
|
||||||
needs: windows-mingw-build
|
needs: windows-mingw-build
|
||||||
|
|||||||
Reference in New Issue
Block a user