Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 128af66

Browse files
committed
ci: Don't pack Windows artifact
1 parent 80e647f commit 128af66

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- run: npm ci
105105
- run: |
106106
./bin/update-build-info.sh
107-
./bin/build-win-x64.sh
107+
./bin/build-win-x64.sh DONTPACK
108108
- uses: actions/upload-artifact@v4
109109
with:
110110
name: trilium-windows-x64

bin/build-win-x64.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ rm -rf $BUILD_DIR/dump-db/node_modules
3434

3535
cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/
3636

37-
echo "Zipping windows x64 electron distribution..."
38-
VERSION=`jq -r ".version" package.json`
39-
40-
cd dist
37+
if [ "$1" != "DONTPACK" ]
38+
then
39+
echo "Zipping windows x64 electron distribution..."
40+
VERSION=`jq -r ".version" package.json`
4141

42-
zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64
42+
cd dist
43+
zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64
44+
fi

0 commit comments

Comments
 (0)