Skip to content

Commit

Permalink
Update action to actually run the bingo viewer from the right directory
Browse files Browse the repository at this point in the history
and zip it up
  • Loading branch information
theastropath committed Aug 6, 2023
1 parent 827e699 commit 8eb66a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,18 @@ runs:
# small test, use timeouts because on windows the GUI can catch errors and a dialog box will freeze the program
- run: timeout 30 ./dist/DXRando/DXRandoInstaller --version 2>&1
shell: bash
- run: timeout 30 ./dist/DXRando/BingoViewer --version 2>&1
- run: timeout 30 ./dist/BingoViewer/BingoViewer --version 2>&1
shell: bash

# zip it up
- if: runner.os == 'Windows'
run: Compress-Archive -Path ./* -Destination DXRando.zip
working-directory: ./dist/DXRando/
shell: pwsh
- if: runner.os == 'Windows'
run: Compress-Archive -Path ./* -Destination BingoViewer.zip
working-directory: ./dist/BingoViewer/
shell: pwsh
- if: runner.os != 'Windows'
run: zip -r9 DXRando.zip .
working-directory: ./dist/DXRando
Expand Down

0 comments on commit 8eb66a5

Please sign in to comment.