Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavko Rihtaric committed May 24, 2024
1 parent e129a6d commit 6f74a5e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
return result;
- name: Download artifacts
if: ${{ inputs.artifacts_download }} && ${{ !fromJson(steps.skip-build.outputs.skip) }}
if: ${{ (inputs.artifacts_download == true) && (fromJson(steps.skip-build.outputs.skip) == false) }}
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifacts_download_name }}
Expand Down Expand Up @@ -202,19 +202,16 @@ jobs:
path: ${{ runner.temp }}/${{ needs.tag_check.outputs.semver }}
retention-days: 1

- run: |
echo "${{ !fromJson(steps.skip-build.outputs.skip) }}"
echo "${{ inputs.cdn_artifacts }}"
- name: Extract CDN artifacts from image
if: ${{ !fromJson(steps.skip-build.outputs.skip) }} && ${{ inputs.cdn_artifacts }} == 'true'
if: ${{ (fromJson(steps.skip-build.outputs.skip) == false) && (inputs.cdn_artifacts == true) }}
run: |
mkdir -p ./${{ matrix.platform }}
docker run --rm -it -d --name temp_container ${{ inputs.cdn_docker_args }} \
${{ env.ECR_REGISTRY }}/${{ env.IMAGE }}:${{ env.IMAGE_TAG }}
docker cp temp_container:${{ inputs.cdn_artifacts_docker_path }} ./${{ matrix.platform }}
- name: Upload CDN artifacts to S3
if: ${{ !fromJson(steps.skip-build.outputs.skip) }} && ${{ inputs.cdn_artifacts }}
if: ${{ (fromJson(steps.skip-build.outputs.skip) == false) && (inputs.cdn_artifacts == true) }}
uses: jakejarvis/s3-sync-action@master
with:
args: --follow-symlinks
Expand Down

0 comments on commit 6f74a5e

Please sign in to comment.