1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Adding logic to skip uploading a zip file if it does not exist (#1431)

This commit is contained in:
Joseph Flinn 2021-07-02 13:34:20 -07:00 committed by GitHub
parent 051aab805b
commit 7cfa54ba14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,10 +314,12 @@ jobs:
cd docker-stub; zip -r ../docker-stub.zip *; cd ..
- name: Upload Docker stub artifact
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc'
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700
with:
name: docker-stub.zip
path: ./docker-stub.zip
if-no-files-found: error
- name: Build Swagger
run: |
@ -341,3 +343,4 @@ jobs:
with:
name: swagger.json
path: ./swagger.json
if-no-files-found: error