Skip to content

Commit

Permalink
Fix: workflow actions/upload-artifact and actions/download-artifact u… (
Browse files Browse the repository at this point in the history
#8366)

…pdated from deprecated v3 to v4

<!--
Thank you for your contribution.

Before making a PR, please read our contributing guidelines at

https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution

We recommend creating a *draft* PR, so that you can mark it as 'ready
for review' when you are done.
-->

## Purpose
_Describe the problem you want to address or the feature you want to
implement._

## Approach
_Describe how your changes address the issue or implement the desired
functionality in as much detail as possible._

## References
_Provide a link to the existing issue(s), if any._

## Pre-Merge TODO
- [ ] Write tests for your proposed changes
- [ ] Make sure that existing tests do not fail

Co-authored-by: Bayheck <[email protected]>
  • Loading branch information
Bayheck and Bayheck authored Jan 27, 2025
1 parent a4ff2d4 commit 64890ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
core.setOutput('packageName', `${name}-${version}`);
core.setOutput('imageName', `${name}/${name}:${version}`);
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: npm
path: |
${{steps.package-name.outputs.packageName}}.tgz
- run: |
npx gulp docker-build
docker save -o ${{steps.package-name.outputs.packageName}}.tar ${{steps.package-name.outputs.imageName}}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: docker
path: ${{steps.package-name.outputs.packageName}}.tar
Expand All @@ -82,7 +82,7 @@ jobs:
- run: |
git reset --soft `git merge-base "${{github.event.inputs.base_sha}}" HEAD`
git diff --name-only --cached > changes.txt
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: changes
path: changes.txt
Expand All @@ -97,7 +97,7 @@ jobs:
runs-on: ubuntu-latest
environment: CI
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: changes
- uses: actions/github-script@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:

- name: Save debug log
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: testcafe-debug-log
path: testcafe-debug-log-${{ matrix.test-group }}.log
Expand Down

0 comments on commit 64890ca

Please sign in to comment.