Skip to content

Commit dd35262

Browse files
committed
a
1 parent f822474 commit dd35262

1 file changed

Lines changed: 4 additions & 22 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)