mirror of
https://github.com/bitwarden/server
synced 2026-01-09 03:53:42 +00:00
Adding logic to skip uploading a zip file if it does not exist (#1431)
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -314,10 +314,12 @@ jobs:
|
|||||||
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
|
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
|
||||||
|
|
||||||
- name: Upload Docker stub artifact
|
- name: Upload Docker stub artifact
|
||||||
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
|
||||||
with:
|
with:
|
||||||
name: docker-stub.zip
|
name: docker-stub.zip
|
||||||
path: ./docker-stub.zip
|
path: ./docker-stub.zip
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Build Swagger
|
- name: Build Swagger
|
||||||
run: |
|
run: |
|
||||||
@@ -341,3 +343,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: swagger.json
|
name: swagger.json
|
||||||
path: ./swagger.json
|
path: ./swagger.json
|
||||||
|
if-no-files-found: error
|
||||||
|
|||||||
Reference in New Issue
Block a user