Skip to content

Commit aaff430

Browse files
committed
Update build workflow to conditionally remove dist folder for Linux and macOS, and add a debug listing of files after downloading dist.zip
1 parent 5a8ae7d commit aaff430

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
126126
127127
- name: Remove dist folder (Linux/macOS)
128-
if: ${{ matrix.enabled && runner.os != 'Windows' }}
128+
if: matrix.enabled && (runner.os == 'Linux' || runner.os == 'macOS')
129129
run: rm -rf ./dist
130130

131131
- name: Remove dist folder (Windows)
@@ -138,6 +138,7 @@ jobs:
138138
run: |
139139
curl -L -o dist.zip ${{ secrets.VITE_DIST_URL }}
140140
unzip -o dist.zip -d ./
141+
ls
141142
142143
- name: import Apple Developer Certificate
143144
if: ${{ matrix.enabled && matrix.platform == 'macos-latest'}}

0 commit comments

Comments
 (0)