diff --git a/.github/actions/cleanup/action.yaml b/.github/actions/cleanup/action.yaml index b8cb94c..417a2f0 100644 --- a/.github/actions/cleanup/action.yaml +++ b/.github/actions/cleanup/action.yaml @@ -35,4 +35,10 @@ runs: df -h free -h docker ps -a + shell: bash + - name: Remove OpenVidu Meet directory + run: | + if [ -d "/__w/openvidu-meet/openvidu-meet" ]; then + sudo rm -rf /__w/openvidu-meet/openvidu-meet + fi shell: bash \ No newline at end of file diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 786520d..531e81c 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -6,13 +6,6 @@ jobs: name: Rooms API Tests runs-on: ov-actions-runner steps: - - name: Pre-cleanup problematic directories - run: | - # Check if directory exists and clean it up with elevated permissions - if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then - sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment - fi - continue-on-error: true - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -71,14 +64,6 @@ jobs: runs-on: ov-actions-runner if: false steps: - - name: Pre-cleanup problematic directories - run: | - # Check if directory exists and clean it up with elevated permissions - if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then - sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment - fi - continue-on-error: true - - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -136,13 +121,6 @@ jobs: name: Webhook Tests runs-on: ov-actions-runner steps: - - name: Pre-cleanup problematic directories - run: | - # Check if directory exists and clean it up with elevated permissions - if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then - sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment - fi - continue-on-error: true - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -199,13 +177,6 @@ jobs: name: Security API Tests runs-on: ov-actions-runner steps: - - name: Pre-cleanup problematic directories - run: | - # Check if directory exists and clean it up with elevated permissions - if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then - sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment - fi - continue-on-error: true - name: Setup Node.js uses: actions/setup-node@v4 with: