workflows: update archive action
When archiving, use the latest version of the archive action and use
it's ability to archive an entire directory.
@@ -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
