Skip to content

Failed to package artifacts: Code artifacts directory path must be provided #70

Description

@Tsingis

Something happened in recent version 1.1.1 compared to earlier versions.

with

- name: Deploy
  uses: aws-actions/aws-lambda-deploy@20039225425cbacb648cf1ffe08cc221f19b65a0 # v1.1.1
  with:
    function-name: ${{ vars.DATA_LAMBDA_NAME }}
    package-type: Image
    image-uri: "${{ vars.DATA_LAMBDA_IMAGE_REPOSITORY }}:${{ vars.DATA_LAMBDA_IMAGE_TAG }}"

result is

Setting custom user agent: LambdaGitHubAction/1.0.0
Checking if X exists
Packaging code artifacts from 
Error: Failed to package artifacts: Code artifacts directory path must be provided
Error: Action failed with error: Code artifacts directory path must be provided

with

- name: Deploy
  uses: aws-actions/aws-lambda-deploy@29ea35c124579506cf0475e20df36198eb670d89 # v1.1.0
  with:
    function-name: ${{ vars.DATA_LAMBDA_NAME }}
    package-type: Image
    image-uri: "${{ vars.DATA_LAMBDA_IMAGE_REPOSITORY }}:${{ vars.DATA_LAMBDA_IMAGE_TAG }}"

everything works as expected. Wondering if this is regression or I should adjust something to use new version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions