weavel-ai / Ape

Your first AI prompt engineer
https://docs.weavel.ai/sdk-reference/ape-common
MIT License
331 stars 13 forks source link

[fix] Update directory path in GitHub Actions workflow #26

Closed aschung01 closed 1 week ago

aschung01 commented 1 week ago

Description

This pull request updates the directory path in the GitHub Actions workflow file publish.yml. The change modifies the cd command in the "Build package" step to use ${{ github.workspace }} in conjunction with ${{ env.package_dir }}. This adjustment ensures that the correct directory is accessed during the package build process, potentially resolving issues related to incorrect working directory in the CI/CD pipeline.

The modification is as follows:

This change addresses a problem where the workflow was not finding the correct directory to build the package, by explicitly including the GitHub workspace path. Adding ${{ github.workspace }} to the directory path is necessary to navigate to the correct location from where GitHub Actions is executed. This adjustment addresses potential issues with the working directory in the CI/CD pipeline.

Changes that Break Backward Compatibility

N/A

Documentation

N/A

Notes: The user clarified that adding ${{ github.workspace }} to the directory path is necessary to navigate to the correct location from where GitHub Actions is executed. This adjustment addresses potential issues with the working directory in the CI/CD pipeline.

Created with Palmier

aschung01 commented 1 week ago

@palmier-bot describe