Skip to content

Commit 3ac0156

Browse files
authored
Add LICENSE to workflow built zips (#96)
1 parent 33dab9a commit 3ac0156

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-be.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
Copy-Item -Path ./build/windows/x86/release/.doorstop_version -Destination ./artifacts/release/x86/.doorstop_version
2525
Copy-Item -Path ./assets/windows/doorstop_config.ini -Destination ./artifacts/release/x64/doorstop_config.ini
2626
Copy-Item -Path ./assets/windows/doorstop_config.ini -Destination ./artifacts/release/x86/doorstop_config.ini
27+
Copy-Item -Path ./LICENSE -Destination ./artifacts/release/LICENSE
2728
- name: Build Verbose
2829
run: |
2930
./build.ps1 -with_logging
@@ -33,6 +34,7 @@ jobs:
3334
Copy-Item -Path ./build/windows/x86/release/.doorstop_version -Destination ./artifacts/verbose/x86/.doorstop_version
3435
Copy-Item -Path ./assets/windows/doorstop_config.ini -Destination ./artifacts/verbose/x64/doorstop_config.ini
3536
Copy-Item -Path ./assets/windows/doorstop_config.ini -Destination ./artifacts/verbose/x86/doorstop_config.ini
37+
Copy-Item -Path ./LICENSE -Destination ./artifacts/verbose/LICENSE
3638
- name: Upload Release
3739
uses: actions/upload-artifact@v4
3840
with:
@@ -70,6 +72,7 @@ jobs:
7072
cp build/linux/x64/release/.doorstop_version artifacts/release/x64/.doorstop_version
7173
cp assets/nix/run.sh artifacts/release/x86/run.sh
7274
cp assets/nix/run.sh artifacts/release/x64/run.sh
75+
cp LICENSE artifacts/release/LICENSE
7376
- name: Build Verbose
7477
run: |
7578
./build.sh -with_logging
@@ -79,6 +82,7 @@ jobs:
7982
cp build/linux/x86/release/.doorstop_version artifacts/verbose/x64/.doorstop_version
8083
cp assets/nix/run.sh artifacts/verbose/x86/run.sh
8184
cp assets/nix/run.sh artifacts/verbose/x64/run.sh
85+
cp LICENSE artifacts/verbose/LICENSE
8286
- name: Build Debug
8387
run: |
8488
./build.sh -with_logging -debug
@@ -88,6 +92,7 @@ jobs:
8892
cp build/linux/x64/debug/.doorstop_version artifacts/debug/x64/.doorstop_version
8993
cp assets/nix/run.sh artifacts/debug/x86/run.sh
9094
cp assets/nix/run.sh artifacts/debug/x64/run.sh
95+
cp LICENSE artifacts/debug/LICENSE
9196
- name: Upload Release
9297
uses: actions/upload-artifact@v4
9398
with:
@@ -122,18 +127,21 @@ jobs:
122127
cp build/macosx/universal/release/libdoorstop.dylib artifacts/release/universal/libdoorstop.dylib
123128
cp build/macosx/universal/release/.doorstop_version artifacts/release/universal/.doorstop_version
124129
cp assets/nix/run.sh artifacts/release/universal/run.sh
130+
cp LICENSE artifacts/release/LICENSE
125131
- name: Build Verbose
126132
run: |
127133
./build.sh -with_logging
128134
cp build/macosx/universal/release/libdoorstop.dylib artifacts/verbose/universal/libdoorstop.dylib
129135
cp build/macosx/universal/release/.doorstop_version artifacts/verbose/universal/.doorstop_version
130136
cp assets/nix/run.sh artifacts/verbose/universal/run.sh
137+
cp LICENSE artifacts/verbose/LICENSE
131138
- name: Build Debug
132139
run: |
133140
./build.sh -with_logging -debug
134141
cp build/macosx/universal/debug/libdoorstop.dylib artifacts/debug/universal/libdoorstop.dylib
135142
cp build/macosx/universal/debug/.doorstop_version artifacts/debug/universal/.doorstop_version
136143
cp assets/nix/run.sh artifacts/debug/universal/run.sh
144+
cp LICENSE artifacts/debug/LICENSE
137145
- name: Upload Release
138146
uses: actions/upload-artifact@v4
139147
with:

0 commit comments

Comments
 (0)