We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2a6cb commit 3e99f29Copy full SHA for 3e99f29
.github/workflows/create-github-release.yaml
@@ -51,7 +51,11 @@ jobs:
51
ZIP_NAME="jfiletreeprettyprinter-${VERSION}-${SAFE_OS_NAME}.zip"
52
53
cd dist
54
- tar -a -c -f "$ZIP_NAME" *
+ if [[ "$SAFE_OS_NAME" == "windows" ]]; then
55
+ powershell Compress-Archive -Path * -DestinationPath "$ZIP_NAME"
56
+ else
57
+ tar -a -c -f "$ZIP_NAME" *
58
+ fi
59
echo "zip_path=dist/$ZIP_NAME" >> $GITHUB_OUTPUT
60
cd ..
61
@@ -100,7 +104,7 @@ jobs:
100
104
- name: Create GitHub Release
101
105
uses: softprops/action-gh-release@v2
102
106
with:
103
- name: "JFileTreePrettyPrinter v${{ github.ref_name }}"
107
+ name: "JFileTreePrettyPrinter ${{ github.ref_name }}"
108
body_path: ${{ steps.changelog.outputs.body_path }}
109
files: release_zips/**/*.zip
110
draft: true
0 commit comments