mirror of https://github.com/ceph/go-ceph
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:
parent
5b42837d77
commit
f5c9439f85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue