Skip to content

Commit

Permalink
Update actions/upload-artifact to v3 (#5135)
Browse files Browse the repository at this point in the history
According to
https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
v2 is deprecated. Besides that the workflow doesn't work with v2
anoymore -
https://github.com/JetBrains/compose-multiplatform/actions/runs/10794252433/job/29978381803?pr=5134
:

> Error: This request has been automatically failed because it uses a
deprecated version of `actions/upload-artifact: v2`. Learn more:
https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/


The suggested version is v4. But it requires more changes to the
workflow configuration (see
actions/upload-artifact#478). Let's use v3 for
now.
  • Loading branch information
eymar authored Sep 11, 2024
1 parent 4c15625 commit 4e6f4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
./gradlew assemble
./gradlew --continue :preview-rpc:test :compose:test ':compose:test-Gradle(${{ matrix.gradle }})-Agp(${{ matrix.agp }})'
- name: Upload Reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Test-Reports
path: gradle-plugins/compose/build/reports
Expand Down

0 comments on commit 4e6f4ce

Please sign in to comment.