workflows: update archive action

When archiving, use the latest version of the archive action and use
it's ability to archive an entire directory.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-07-25 13:18:24 -04:00 committed by mergify[bot]
parent 5b42837d77
commit f5c9439f85
1 changed files with 6 additions and 10 deletions

View File

@ -45,17 +45,13 @@ jobs:
run: make test-containers-test "CEPH_VERSION=${{ matrix.ceph_version }}" "RESULTS_DIR=$PWD/_results"
- name: Clean up test containers
run: make test-containers-clean "CEPH_VERSION=${{ matrix.ceph_version }}"
- name: Archive coverage results
uses: actions/upload-artifact@v2
- name: Archive test results
uses: actions/upload-artifact@v3
with:
name: "go-ceph-coverage-${{ matrix.ceph_version }}"
path: "_results/coverage/go-ceph.html"
- name: Archive implements results
if: "matrix.ceph_version == 'pacific'"
uses: actions/upload-artifact@v2
with:
name: "go-ceph-implements-${{ matrix.ceph_version }}"
path: "_results/implements.*"
name: "go-ceph-results-${{ matrix.ceph_version }}"
path: |
_results/
retention-days: 30
- name: Check API Versions and Aging
run: |
if [ -f _results/implements.json ]; then