Skip to content

Commit

Permalink
Use -j to remove top-level directory in zip artifact (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
voxparcxls authored May 16, 2024
1 parent a6a780b commit 9f704fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cicd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
mkdir -p build/${{ steps.poetry-build.outputs.tf_module_artifact_name }}
cp terraform/* build/${{ steps.poetry-build.outputs.tf_module_artifact_name }}/
cd build
zip ${{ steps.poetry-build.outputs.tf_module_artifact_name }}.zip ${{ steps.poetry-build.outputs.tf_module_artifact_name }}/* -r
zip ${{ steps.poetry-build.outputs.tf_module_artifact_name }}.zip ${{ steps.poetry-build.outputs.tf_module_artifact_name }}/* -r -j
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.poetry-build.outputs.tf_module_artifact_name }}
Expand Down

0 comments on commit 9f704fd

Please sign in to comment.