diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ff5282..4fe8f83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -355,44 +355,51 @@ jobs: # - name: Run after # run: ${{ matrix.data.run_after }} - multiple-steps: - timeout-minutes: 5 - name: Test running the action multiple times - runs-on: macos-latest - - strategy: - fail-fast: false - matrix: - hypervisor: [qemu, xhyve] + # multiple-steps: + # timeout-minutes: 5 + # name: Test running the action multiple times + # runs-on: macos-latest + # + # strategy: + # fail-fast: false + # matrix: + # hypervisor: [qemu, xhyve] + # + # steps: + # - name: Checkout + # uses: actions/checkout@v4 + # with: + # persist-credentials: false + # + # - name: Run action first time + # uses: ./ + # with: + # operating_system: freebsd + # architecture: x86-64 + # version: '13.2' + # hypervisor: ${{ matrix.hypervisor }} + # shutdown_vm: false + # run: touch foo.txt + # + # - name: Verify VM is still running + # run: ps aux | grep -v grep | grep -q -v qemu + # + # - name: Verify file is synced back + # run: ps aux | grep -v grep | grep -q -v qemu + # + # - name: Run action second time + # uses: ./ + # with: + # operating_system: freebsd + # architecture: x86-64 + # version: '13.2' + # hypervisor: qemu + # shutdown_vm: false + # run: test -f foo.txt + foo: steps: - - name: Checkout - uses: actions/checkout@v4 - with: - persist-credentials: false - - - name: Run action first time - uses: ./ - with: - operating_system: freebsd - architecture: x86-64 - version: '13.2' - hypervisor: ${{ matrix.hypervisor }} - shutdown_vm: false - run: touch foo.txt - - - name: Verify VM is still running - run: ps aux | grep -v grep | grep -q -v qemu - - - name: Verify file is synced back - run: ps aux | grep -v grep | grep -q -v qemu - - - name: Run action second time - uses: ./ + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 with: - operating_system: freebsd - architecture: x86-64 - version: '13.2' - hypervisor: qemu - shutdown_vm: false - run: test -f foo.txt + limit-access-to-actor: true