Skip to content

Commit

Permalink
Merge pull request #3 from TendTo/main
Browse files Browse the repository at this point in the history
Clean up after installation
  • Loading branch information
dokempf authored Apr 4, 2024
2 parents d03a7fc + 9c1ac1f commit 8ebee91
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- ubuntu-latest
- windows-latest
- macos-latest

steps:
- uses: actions/checkout@v3

Expand All @@ -28,3 +28,9 @@ jobs:
shell: bash
run: |
which doxygen
- name: Check cleanup
shell: bash
run: |
! ls doxygen* 1> /dev/null 2>&1
! ls Doxygen* 1> /dev/null 2>&1
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,20 @@ runs:
tar xzvf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
cd doxygen-${DOXYGEN_VERSION}
sudo make install
cd ..
rm -rf doxygen-${DOXYGEN_VERSION}* # Clean up
- name: "Windows installation"
if: runner.os == 'Windows'
shell: bash
run: |
mkdir doxygen
cd doxygen
mkdir doxygen-${DOXYGEN_VERSION}-windows
cd doxygen-${DOXYGEN_VERSION}-windows
curl -kLSs https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.windows.x64.bin.zip -o doxygen.zip
unzip doxygen.zip
cp * c:\\Windows
cd ..
rm -rf doxygen-${DOXYGEN_VERSION}-windows # Clean up
- name: "MacOS installation"
if: runner.os == 'MacOS'
Expand All @@ -42,3 +46,4 @@ runs:
sudo cp /Volumes/Doxygen/Doxygen.app/Contents/Resources/doxygen /usr/local/bin
sudo cp /Volumes/Doxygen/Doxygen.app/Contents/Resources/doxyindexer /usr/local/bin
sudo hdiutil detach /Volumes/Doxygen
rm Doxygen-${DOXYGEN_VERSION}.dmg # Clean up

0 comments on commit 8ebee91

Please sign in to comment.