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

View File

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