Skip to content

Commit 30c7348

Browse files
committed
fix: temp zip checker
1 parent ef94998 commit 30c7348

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/release.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)