File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,28 +171,10 @@ jobs:
171171
172172 DEST_DIR="$GITHUB_WORKSPACE/artifacts"
173173
174- # macOS
175- if [ -d "$MAC_RELEASE_DIR" ]; then
176- echo "Packing macOS from $MAC_RELEASE_DIR"
177- cd "$MAC_RELEASE_DIR"
178- zip -r "$DEST_DIR/plugin-macos-${TAG_NAME}.zip" .
179- fi
180-
181- # Windows
182- if [ -d "$WIN_RELEASE_DIR" ]; then
183- echo "Packing Windows from $WIN_RELEASE_DIR"
184- cd "$WIN_RELEASE_DIR"
185- zip -r "$DEST_DIR/plugin-win-${TAG_NAME}.zip" .
186- fi
187-
188- # Linux
189- if [ -d "$LINUX_RELEASE_DIR" ]; then
190- echo "Packing Linux from $LINUX_RELEASE_DIR"
191- cd "$LINUX_RELEASE_DIR"
192- zip -r "$DEST_DIR/plugin-linux-${TAG_NAME}.zip" .
193- fi
194-
195- cd $GITHUB_WORKSPACE
174+ cd artifacts
175+ zip -r plugin-win-${TAG_NAME}.zip "$WIN_RELEASE_DIR"
176+ zip -r plugin-macos-${TAG_NAME}.zip "MAC_RELEASE_DIR"
177+ zip -r plugin-linux-${TAG_NAME}.zip "LINUX_RELEASE_DIR"
196178
197179 - name : Create GitHub Release
198180 uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments