Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/current/2947-update-action-upload-artifact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Maintenance

- Update GitHub action upload-artifact
22 changes: 11 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ jobs:
fi
# - name: Upload the code coverage files as artifacts
# if: always()
# uses: actions/upload-artifact@v5
# uses: actions/upload-artifact@v6
# with:
# name: Code coverage files (${{matrix.database}}, stable${{matrix.coreVersion}}, ${{matrix.httpServer}}, ${{matrix.phpVersion}})
# path: ".github/actions/run-tests/volumes/coverage"

- name: Upload the log file as artifact
if: steps.ncVersionRequirements.outputs.matchingVersion == 'true' && always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Nextcloud-logs (${{matrix.database}}, stable${{matrix.coreVersion}}, ${{matrix.httpServer}}, ${{matrix.phpVersion}})
path: .github/actions/run-tests/volumes/data/nextcloud.log
Expand All @@ -247,19 +247,19 @@ jobs:

- name: Upload the code coverage report for codecov as artifacts
if: steps.ncVersionRequirements.outputs.matchingVersion == 'true'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Code coverage (XML) (${{matrix.database}}, stable${{matrix.coreVersion}}, ${{matrix.httpServer}}, ${{matrix.phpVersion}})
path: "/tmp/coverage/coverage.*.xml"

# - name: Upload the code coverage report (unit tests) as artifacts
# uses: actions/upload-artifact@v5
# uses: actions/upload-artifact@v6
# with:
# name: Code coverage (HTML) (${{matrix.database}}, stable${{matrix.coreVersion}}, ${{matrix.httpServer}}, ${{matrix.phpVersion}})
# path: "/tmp/coverage"

- name: Upload the junit log file artifact as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Junit test log files (${{matrix.database}}, stable${{matrix.coreVersion}}, ${{matrix.httpServer}}, ${{matrix.phpVersion}})
path: .github/actions/run-tests/volumes/coverage/junit*.xml
Expand Down Expand Up @@ -341,14 +341,14 @@ jobs:
fi

# - name: Upload the coverage files as artifact
# uses: actions/upload-artifact@v5
# uses: actions/upload-artifact@v6
# with:
# name: Coverage files (mysql, master, apache)
# path: .github/actions/run-tests/volumes/coverage
# if: always()

- name: Upload the log file as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: Nextcloud-logs (mysql, master, apache)
Expand All @@ -361,13 +361,13 @@ jobs:
rsync -a .github/actions/run-tests/volumes/coverage/latest/ /tmp/coverage

- name: Upload the code coverage report for codecov as artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Code coverage (XML) (mysql, master, apache)
path: "/tmp/coverage/coverage.*.xml"

- name: Upload the junit log file artifact as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Junit test log files (mysql, master, apache)
path: .github/actions/run-tests/volumes/coverage/junit*.xml
Expand Down Expand Up @@ -518,7 +518,7 @@ jobs:
run: >-
make appstore_package_name=/tmp/appstore appstore
- name: Publish the app store package as artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: cookbook-appstore
path: /tmp/appstore.tar.gz
Expand All @@ -528,7 +528,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Upload
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: Event File
path: ${{ github.event_path }}
Expand Down
Loading