From d6025f5209206617f8b32662f39fc120a1c72823 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Wed, 6 Mar 2024 18:14:37 +0100 Subject: [PATCH] Fix: Workflows used deprecated actions --- .github/workflows/build-deb-package.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 6 +++--- .github/workflows/test-new-runtime-examples.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-deb-package.yml b/.github/workflows/build-deb-package.yml index aaac94502..825116667 100644 --- a/.github/workflows/build-deb-package.yml +++ b/.github/workflows/build-deb-package.yml @@ -30,7 +30,7 @@ jobs: cd packaging && make ${{ matrix.make_target }} && cd .. ls packaging/target - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.artifact_name }} path: packaging/target/${{ matrix.artifact_name }} @@ -58,7 +58,7 @@ jobs: sudo apt install -y debootstrap cd runtimes/aleph-${{ matrix.os }}-python && sudo ./create_disk_image.sh && cd ../.. - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.artifact_name }} path: runtimes/aleph-${{ matrix.os }}-python/rootfs.squashfs @@ -74,7 +74,7 @@ jobs: docker build -t aleph-vm-build-squashfs -f examples/volumes/Dockerfile examples/volumes docker run --rm -v "$(pwd)":/mnt aleph-vm-build-squashfs - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: example-volume-venv.squashfs path: volume-venv.squashfs diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5a5fff40..d928b37c0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,7 +43,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/test-new-runtime-examples.yml b/.github/workflows/test-new-runtime-examples.yml index a8e62d0be..f48ae2ac4 100644 --- a/.github/workflows/test-new-runtime-examples.yml +++ b/.github/workflows/test-new-runtime-examples.yml @@ -49,7 +49,7 @@ jobs: sudo apt install -y debootstrap cd runtimes/aleph-debian-12-python && sudo ./create_disk_image.sh && cd ../.. - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: aleph-debian-12-python.squashfs path: runtimes/aleph-debian-12-python/rootfs.squashfs