From df26c2474eb006da2a109bf5f7bfae0dc113ee3a Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sat, 7 Dec 2024 08:47:30 +0100 Subject: [PATCH] Update all Github actions to latest version --- .github/workflows/build.yml | 24 ++++++++++++------------ .github/workflows/docs.yml | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e97c6b7..23ec99c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [macos-latest, ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build and test run: | mkdir build @@ -23,13 +23,13 @@ jobs: package-source: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Make source tarball run: | ./autogen.sh ./configure && make distcheck - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: libdiscid-source path: libdiscid-*.tar.gz @@ -40,7 +40,7 @@ jobs: GENERATOR: Visual Studio 16 2019 CODESIGN: ${{ !!secrets.AZURE_CERT_PROFILE_NAME }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Prepare package run: | mkdir artifacts @@ -84,7 +84,7 @@ jobs: timestamp-rfc3161: http://timestamp.acs.microsoft.com timestamp-digest: SHA256 - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: libdiscid-windows path: artifacts/ @@ -106,7 +106,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: "10.10" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: | mkdir build @@ -128,7 +128,7 @@ jobs: cp -Rv include artifacts/ cp -v ../COPYING ../README ../ChangeLog artifacts - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: libdiscid-macos path: build/artifacts @@ -142,20 +142,20 @@ jobs: - package-macos - package-windows steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set version run: | TAG=${GITHUB_REF##*/} echo "VERSION=$(echo $TAG | sed 's/^v//')" >> $GITHUB_ENV - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: libdiscid-windows path: artifacts/libdiscid-${{ env.VERSION }}-win/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: libdiscid-macos path: artifacts/libdiscid-${{ env.VERSION }}-mac/ - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: libdiscid-source path: artifacts/release/ @@ -172,7 +172,7 @@ jobs: cd artifacts/release/ sha256sum * > SHA256SUMS - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: artifacts/release/* env: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 715e2be..a117708 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,9 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Build documentation run: | sudo apt-get install doxygen @@ -40,10 +40,10 @@ jobs: cmake .. make docs - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: './_build/docs/' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4