From 63dc432318ab4b00172e762ede2c53fa5b0da010 Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Mon, 21 Oct 2024 22:41:46 +0200 Subject: [PATCH] Upload/Download artifacts v1 and v2 are deprecated: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1159152b..8f2550d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8cd104b..7b4bc1f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | @@ -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: | @@ -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