Fix access to needs.init.outputs.publish (#2728)

* Fix access to needs.init.outputs.publish

* Update Dockerfile
This commit is contained in:
Pascal Vizeli 2021-03-16 21:03:19 +01:00 committed by GitHub
parent b342073ba9
commit 392d0e929b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -138,10 +138,11 @@ jobs:
codenotary:
name: CodeNotary signature
needs: build
needs: init
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
if: needs.init.outputs.publish == 'true'
uses: actions/checkout@v2
with:
fetch-depth: 0

View File

@ -47,7 +47,7 @@ RUN \
exit 1; \
fi \
\
&& rm -rf /root/go \
&& rm -rf /root/go /root/.cache \
&& mv vcn /usr/bin/vcn \
\
&& apk del .build-dependencies \