]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Fix deprecated actions/upload-artifact@v3 in GitHub Actions 4342/head
authorMatwey V. Kornilov <matwey.kornilov@gmail.com>
Fri, 7 Feb 2025 15:46:58 +0000 (18:46 +0300)
committerMatwey V. Kornilov <matwey.kornilov@gmail.com>
Fri, 7 Feb 2025 16:26:22 +0000 (19:26 +0300)
.github/workflows/build.yml

index fa7cabc1ddc9ec7746c39ebc182405bf88fced34..8e436bb67409a84b219d07a319c9750e43a2c8d5 100644 (file)
@@ -56,9 +56,9 @@ jobs:
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
     - name: Upload config.log
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: configure log for ${{ matrix.container_tag }} ${{ matrix.configure_flags }}
         path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
@@ -69,9 +69,9 @@ jobs:
         echo "$?" >make-check.status
       continue-on-error: true
     - name: Upload log files
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: Build logs ${{ matrix.container_tag }} ${{ matrix.configure_flags }}
         path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)
@@ -115,9 +115,9 @@ jobs:
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
     - name: Upload config.log
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: configure log for ${{ matrix.container_tag }} ${{ matrix.configure_flags }}
         path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
@@ -128,9 +128,9 @@ jobs:
         echo "$?" >make-check.status
       continue-on-error: true
     - name: Upload log files
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: Build logs ${{ matrix.container_tag }} ${{ matrix.configure_flags }}
         path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)