Skip to content

Commit

Permalink
Fix the step that deletes the source code
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Aug 24, 2023
1 parent 194780e commit 2dba842
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-n-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,18 @@ jobs:
run: |
sudo apt-get update -y
sudo apt-get install -y libegl1
- name: Remove source from checkouts
# FIXME: What is the Windows equivalent?
- name: Remove source from checkouts for *Nix
if: runner.os != 'Windows'
run: |
rm -rf Spine-Toolbox/spinetoolbox* spine-items/spine_items \
spine-engine/spine_engine Spine-Database-API/spinedb_api
- name: Remove source from checkouts for Windows
if: runner.os == 'Windows'
run: |
Remove-Item -Recurse -Force Spine-Toolbox\spinetoolbox
Remove-Item -Recurse -Force spine-items\spine_items
Remove-Item -Recurse -Force spine-engine\spine_engine
Remove-Item -Recurse -Force Spine-Database-API\spinedb_api
- name: Test wheels
# FIXME: how to run execution tests for Spine-Toolbox
run: |
Expand Down

0 comments on commit 2dba842

Please sign in to comment.