Skip to content

Commit

Permalink
Adding additional files to build directory and simplifying upload
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian <sebastian.franz@tum.de>
  • Loading branch information
SebieF committed Oct 14, 2024
1 parent 8fc4006 commit 3522cfd
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,20 @@ jobs:
- name: Build with pyinstaller
run: poetry run pyinstaller biocentral_server.spec

- name: Upload build artifacts (Windows)
- name: Copy additional files to dist directory (Ubuntu)
if: matrix.labels == 'ubuntu-large-disk'
run: |
cp LICENSE dist/LICENSE
cp README.md dist/README.md
- name: Copy additional files to dist directory (Windows)
if: matrix.labels == 'windows-large-disk'
uses: actions/upload-artifact@v4
with:
name: biocentral_server_windows
path: dist/biocentral_server.exe
run: |
copy LICENSE dist/LICENSE
copy README.md dist/README.md
- name: Upload build artifacts (Ubuntu)
if: matrix.labels == 'ubuntu-large-disk'
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: biocentral_server_ubuntu
path: dist/biocentral_server
name: biocentral_server_${{ matrix.os }}
path: dist

0 comments on commit 3522cfd

Please # to comment.