From df6fa10a018ad255a6f669db9a6893468882abba Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 8 May 2024 21:11:10 +0200 Subject: [PATCH] archive puppet lock if not cancelled as recommended in GitHub documentation https://docs.github.com/en/actions/learn-github-actions/expressions#always --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8acbfe40..efc5d431 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,12 @@ jobs: run: | bundle exec rake install PREFIX=./local --trace bundle exec rake installation_tests PREFIX=./local --trace + - name: Archive Puppetfile.lock + if: ${{ !cancelled() }} + uses: actions/upload-artifact@v4 + with: + name: Puppetfile-ruby-${{ matrix.ruby }}-puppet-${{ matrix.puppet }}.lock + path: Puppetfile.lock # A dummy job that you can mark as a required check instead of each individual test test-suite: