Merge pull request #151 from sartography/dependabot/github_actions/actions/upload-artifact-3

Bump actions/upload-artifact from 2 to 3
This commit is contained in:
Kevin Burnett 2023-03-16 20:20:13 -07:00 committed by GitHub
commit 79ce0203a5
2 changed files with 6 additions and 6 deletions

View File

@ -156,7 +156,7 @@ jobs:
- name: Upload coverage data
# pin to upload coverage from only one matrix entry, otherwise coverage gets confused later
if: always() && matrix.session == 'tests' && matrix.python == '3.11' && matrix.os == 'ubuntu-latest' && matrix.database == 'mysql'
uses: "actions/upload-artifact@v3.0.0"
uses: "actions/upload-artifact@v3"
# this action doesn't seem to respect working-directory so include working-directory value in path
with:
name: coverage-data
@ -164,14 +164,14 @@ jobs:
- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v3.0.0
uses: actions/upload-artifact@v3
with:
name: docs
path: docs/_build
- name: Upload logs
if: failure() && matrix.session == 'tests'
uses: "actions/upload-artifact@v3.0.0"
uses: "actions/upload-artifact@v3"
with:
name: logs-${{matrix.python}}-${{matrix.os}}-${{matrix.database}}
path: "./log/*.log"

View File

@ -108,21 +108,21 @@ jobs:
run: ./bin/get_logs_from_docker_compose >./log/docker_compose.log
- name: Upload logs
if: failure()
uses: "actions/upload-artifact@v3.0.0"
uses: "actions/upload-artifact@v3"
with:
name: spiffworkflow-backend-logs
path: "./spiffworkflow-backend/log/*.log"
# https://github.com/cypress-io/github-action#artifacts
- name: upload_screenshots
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: ./spiffworkflow-frontend/cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- name: upload_videos
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-videos