Browse Source

Update actions/upload-artifact to v3 (#5135)

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
https://github.com/actions/upload-artifact/issues/478). Let's use v3 for
now.
pull/5134/head
Oleksandr Karpovich 2 months ago committed by GitHub
parent
commit
4e6f4ce850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/gradle-plugin.yml

2
.github/workflows/gradle-plugin.yml

@ -33,7 +33,7 @@ jobs:
./gradlew assemble ./gradlew assemble
./gradlew --continue :preview-rpc:test :compose:test ':compose:test-Gradle(${{ matrix.gradle }})-Agp(${{ matrix.agp }})' ./gradlew --continue :preview-rpc:test :compose:test ':compose:test-Gradle(${{ matrix.gradle }})-Agp(${{ matrix.agp }})'
- name: Upload Reports - name: Upload Reports
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: Test-Reports name: Test-Reports
path: gradle-plugins/compose/build/reports path: gradle-plugins/compose/build/reports

Loading…
Cancel
Save