diff options
Diffstat (limited to '.github/workflows/selfhosted.yml')
-rw-r--r-- | .github/workflows/selfhosted.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml index 61b0b1e4..8044a2fb 100644 --- a/.github/workflows/selfhosted.yml +++ b/.github/workflows/selfhosted.yml @@ -2,12 +2,13 @@ name: C/C++ CI self-hosted on: push: - paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', 'Makefile.in', 'configure.ac' ] + paths: [ '**.c', '**.h', '**.m4', '**.sh', '.github/**', '**/Makefile.in', 'configure.ac' ] jobs: selfhosted: if: github.repository == 'openssh/openssh-portable-selfhosted' runs-on: ${{ matrix.os }} + timeout-minutes: 600 env: TARGET_HOST: ${{ matrix.os }} strategy: @@ -73,7 +74,8 @@ jobs: steps: - name: shutdown VM if running run: vmshutdown - - uses: actions/checkout@v2 + working-directory: ${{ runner.temp }} + - uses: actions/checkout@main - name: autoreconf run: autoreconf - name: startup VM @@ -81,7 +83,7 @@ jobs: - name: configure run: vmrun ./.github/configure.sh ${{ matrix.configs }} - name: save config - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-config path: config.h @@ -94,7 +96,7 @@ jobs: timeout-minutes: 600 - name: save logs if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@main with: name: ${{ matrix.os }}-${{ matrix.configs }}-logs path: | @@ -105,3 +107,4 @@ jobs: - name: shutdown VM if: always() run: vmshutdown + working-directory: ${{ runner.temp }} |