Skip to content

Commit ef94998

Browse files
committed
fix: please
1 parent 2c87a38 commit ef94998

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,17 +110,18 @@ 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"
114+
zip -r "$GITHUB_WORKSPACE/${MODULE}.zip" . -x "*.git*"
114115
115-
echo "Created ${MODULE}.zip"
116-
ls -lh "${MODULE}.zip"
116+
echo "ZIP criado em: $GITHUB_WORKSPACE/${MODULE}.zip"
117117
118118
- name: Create module release
119119
uses: ncipollo/release-action@v1
120120
with:
121-
artifacts: "${{ steps.module_info.outputs.module }}.zip,${{ steps.module_data.outputs.dist_path }}/module.json"
121+
artifacts: "${{ github.workspace }}/${{ steps.module_info.outputs.module }}.zip,${{ steps.module_data.outputs.dist_path }}/module.json"
122122
tag: ${{ steps.module_info.outputs.tag }}
123123
name: "${{ steps.module_data.outputs.module_title }} v${{ steps.module_info.outputs.version }}"
124+
allowUpdates: true
124125
makeLatest: false
125126
body: |
126127
${{ steps.module_data.outputs.module_description }}

0 commit comments

Comments
 (0)