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,18 +110,26 @@ jobs:
110110 MODULE="${{ steps.module_info.outputs.module }}"
111111 DIST_PATH="${{ steps.module_data.outputs.dist_path }}"
112112
113- cd "$DIST_PATH"
114- zip -r "$GITHUB_WORKSPACE/${MODULE}.zip" . -x "*.git*"
113+ (cd "$DIST_PATH" && zip -r "../../../${MODULE}.zip" . -x "*.git*")
114+
115+ echo "Created ${MODULE}.zip"
116+ ls -lh "${MODULE}.zip"
115117
116- echo "ZIP criado em: $GITHUB_WORKSPACE/${MODULE}.zip"
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
117126
118127 - name : Create module release
119128 uses : ncipollo/release-action@v1
120129 with :
121- artifacts : " ${{ github.workspace }}/${{ steps.module_info.outputs.module }}.zip,${{ steps.module_data.outputs.dist_path }}/module.json"
130+ artifacts : " ${{ steps.module_info.outputs.module }}.zip,${{ steps.module_data.outputs.dist_path }}/module.json"
122131 tag : ${{ steps.module_info.outputs.tag }}
123132 name : " ${{ steps.module_data.outputs.module_title }} v${{ steps.module_info.outputs.version }}"
124- allowUpdates : true
125133 makeLatest : false
126134 body : |
127135 ${{ steps.module_data.outputs.module_description }}
You can’t perform that action at this time.
0 commit comments