Skip to content

Commit

Permalink
fix crossplane main workflow (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
libracoder authored Jan 15, 2024
1 parent afa958c commit 7b8e702
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main-crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ jobs:

- name: Build lambdas
run: cd ${{ github.workspace }} && make lambda
if: ${{env.zip_lambda_workflow_step==true}}
if: ${{env.zip_lambda_workflow_step == true}} || ${{env.zip_lambda_workflow_step == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GB_TOKEN_PRIVATE }}
GOPRIVATE: "github.com/vimeda/*"
zip_lambda_workflow_step: ${{ inputs.zip_lambda_workflow_step }}

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
if: ${{env.zip_lambda_workflow_step==true}}
if: ${{env.zip_lambda_workflow_step == true}} || ${{env.zip_lambda_workflow_step == 'true' }}
with:
name: srv-lambdas
path: ${{ github.workspace }}/dist/*
zip_lambda_workflow_step: ${{ inputs.zip_lambda_workflow_step }}

- uses: actions/download-artifact@v2
id: download
if: ${{env.zip_lambda_workflow_step==true}}
if: ${{env.zip_lambda_workflow_step == true}} || ${{env.zip_lambda_workflow_step == 'true' }}
with:
name: srv-lambdas
path: ${{ github.workspace }}/dist
Expand All @@ -82,7 +82,7 @@ jobs:
working-directory: ${{ steps.download.outputs.download-path }}

- name: Push all functions to Bucket
if: ${{env.zip_lambda_workflow_step==true}}
if: ${{env.zip_lambda_workflow_step == true}} || ${{env.zip_lambda_workflow_step == 'true' }}
run: |
cd ${{ github.workspace }}/dist && ls
for file in "./"/*lambda.zip
Expand Down

0 comments on commit 7b8e702

Please sign in to comment.