Skip to content

Commit 52533b8

Browse files
committed
Remove start scripts from release zip (executable auto-opens browser)
1 parent 0a18bd4 commit 52533b8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ jobs:
1515
name: windows-x64
1616
exe: gitdock.exe
1717
script: pwsh -File scripts/build-sea.ps1
18-
start_script: start.ps1
1918
- os: macos-latest
2019
name: macos-x64
2120
exe: gitdock
2221
script: chmod +x scripts/build-sea.sh && ./scripts/build-sea.sh
23-
start_script: start.sh
2422
- os: ubuntu-latest
2523
name: linux-x64
2624
exe: gitdock
2725
script: chmod +x scripts/build-sea.sh && ./scripts/build-sea.sh
28-
start_script: start.sh
2926

3027
steps:
3128
- name: Checkout
@@ -48,15 +45,15 @@ jobs:
4845
run: |
4946
New-Item -ItemType Directory -Force -Path release | Out-Null
5047
Copy-Item "dist\${{ matrix.exe }}" release\
51-
Copy-Item dashboard.html, workspace-setup.html, ${{ matrix.start_script }} release\
48+
Copy-Item dashboard.html, workspace-setup.html release\
5249
5350
- name: Prepare release folder (Unix)
5451
if: matrix.os != 'windows-latest'
5552
shell: bash
5653
run: |
5754
mkdir -p release
5855
cp "dist/${{ matrix.exe }}" release/
59-
cp dashboard.html workspace-setup.html ${{ matrix.start_script }} release/
56+
cp dashboard.html workspace-setup.html release/
6057
6158
- name: Create zip (Windows)
6259
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)