mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
ci: fail build if no artifacts uploaded (#2566)
This commit is contained in:
parent
85f79c1a5e
commit
e7a021ab93
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -43,16 +43,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: npm
|
name: npm
|
||||||
path: html2canvas.tgz
|
path: html2canvas.tgz
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload dist
|
- name: Upload dist
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist
|
path: dist
|
||||||
|
if-no-files-found: error
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: build
|
name: build
|
||||||
path: build
|
path: build
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -170,6 +173,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: reftest-results
|
name: reftest-results
|
||||||
path: tmp/reftests
|
path: tmp/reftests
|
||||||
|
if-no-files-found: error
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish
|
name: Publish
|
||||||
@ -282,6 +286,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: www/public
|
path: www/public
|
||||||
|
if-no-files-found: error
|
||||||
publish-docs:
|
publish-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Publish Docs
|
name: Publish Docs
|
||||||
|
Loading…
Reference in New Issue
Block a user