Skip to content

Commit 8624d15

Browse files
authored
Merge pull request #43 from 10up/fix/generate-zip
Fix path for ZIP
2 parents 2554539 + 53ae741 commit 8624d15

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113113
with:
114114
upload_url: ${{ github.event.release.upload_url }}
115-
asset_path: ${{ steps.deploy.outputs.zip_path }}
115+
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip
116116
asset_name: ${{ github.event.repository.name }}.zip
117117
asset_content_type: application/zip
118118
```

entrypoint.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ if ! $GENERATE_ZIP; then
130130
echo "Generating zip file..."
131131
cd "$SVN_DIR/trunk" || exit
132132
zip -r "${GITHUB_WORKSPACE}/${SLUG}.zip" .
133-
# Set GitHub "zip_path" output
134-
echo "::set-output name=zip_path::$GITHUB_WORKSPACE/${SLUG}.zip"
135133
echo "✓ Zip file generated!"
136134
fi
137135

0 commit comments

Comments
 (0)