File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,24 +110,17 @@ jobs:
110110 MODULE="${{ steps.module_info.outputs.module }}"
111111 DIST_PATH="${{ steps.module_data.outputs.dist_path }}"
112112
113- (cd "$DIST_PATH" && zip -r "../../../ ${MODULE}.zip" . -x "*.git*")
113+ (cd "$DIST_PATH" && zip -r "${MODULE}.zip" . -x "*.git*")
114114
115- echo "Created ${MODULE}.zip"
116- ls -lh "${MODULE}.zip"
117-
118- - name : Verify ZIP exists
119- run : |
120- MODULE="${{ steps.module_info.outputs.module }}"
121- echo "Current directory: $(pwd)"
122- echo "Looking for: ${MODULE}.zip"
123- ls -lh "${MODULE}.zip" || echo "ZIP not found!"
124- echo "All files in current directory:"
125- ls -lha
115+ echo "Created $DIST_PATH/${MODULE}.zip"
116+ ls -lh "$DIST_PATH/${MODULE}.zip"
126117
127118 - name : Create module release
128119 uses : ncipollo/release-action@v1
129120 with :
130- artifacts : " ${{ steps.module_info.outputs.module }}.zip,${{ steps.module_data.outputs.dist_path }}/module.json"
121+ artifacts : |
122+ ${{ steps.module_info.outputs.dist_path }}/${{ steps.module_info.outputs.module }}.zip
123+ ${{ steps.module_data.outputs.dist_path }}/module.json
131124 tag : ${{ steps.module_info.outputs.tag }}
132125 name : " ${{ steps.module_data.outputs.module_title }} v${{ steps.module_info.outputs.version }}"
133126 makeLatest : false
You can’t perform that action at this time.
0 commit comments