Skip to content

Commit

Permalink
Upload/Download artifacts v1 and v2 are deprecated: https://github.bl…
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Oct 21, 2024
1 parent 91d7a60 commit 63dc432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Deploy ${{ matrix.environment }}
if: startsWith(github.ref_type, 'refs/tags/v')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.environment }}
path: |
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
needs: [build, check, doc]
steps:
- name: Deploy release artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
path: ${{ github.workspace }}/artifacts

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: platformio run --environment ${{ matrix.environment }}

- name: Deploy ${{ matrix.environment }} firmware
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.environment }}_firmware
path: |
Expand All @@ -81,7 +81,7 @@ jobs:
run: platformio run --environment ${{ matrix.environment }} --target buildfs

- name: Deploy ${{ matrix.environment }} filesystem image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.environment }}_filesystem
path: |
Expand All @@ -96,7 +96,7 @@ jobs:
needs: [build]
steps:
- name: Download release artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
path: ${{ github.workspace }}/artifacts

Expand Down

0 comments on commit 63dc432

Please sign in to comment.