From 41d737ccbe803df3e24e8a8211a8a7754c67d881 Mon Sep 17 00:00:00 2001 From: Vincent Ruello <5345986+vruello@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:38:15 +0200 Subject: [PATCH] Bump github actions version --- .github/workflows/release-draft.yml | 12 ++++++------ .github/workflows/rust-test.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index 36088c1..52a16f1 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -13,7 +13,7 @@ jobs: name: build packages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Make debian bookworm package run: | cd build-pkg && \ @@ -23,7 +23,7 @@ jobs: cargo deb --manifest-path=./common/Cargo.toml -- --locked && \ for i in ../target/debian/*.deb; do mv "$i" "${i/.deb/_deb12.deb}"; done; - name: Upload debian bookworm package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openwec-deb-bookworm-package path: ./target/debian/*.deb @@ -37,7 +37,7 @@ jobs: cargo deb --manifest-path=./common/Cargo.toml -- --locked && \ for i in ../target/debian/*.deb; do mv "$i" "${i/.deb/_deb11.deb}"; done; - name: Upload debian bullseye package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: openwec-deb-bullseye-package path: ./target/debian/*.deb @@ -48,11 +48,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download debian bookworm package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openwec-deb-bookworm-package - name: Download debian bullseye package - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: openwec-deb-bullseye-package - name: Get artifacts names @@ -61,7 +61,7 @@ jobs: echo "U_PKG_DEB_BOOKWORM=$(ls openwec*_deb12.deb)" >> "$GITHUB_OUTPUT" && \ echo "U_PKG_DEB_BULLSEYE=$(ls openwec*_deb11.deb)" >> "$GITHUB_OUTPUT" - name: Create draft release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true files: | diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml index 573ab88..3665882 100644 --- a/.github/workflows/rust-test.yml +++ b/.github/workflows/rust-test.yml @@ -37,7 +37,7 @@ jobs: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | apt-get update && \