From b8bef515be6f00ea92f90ff08f690d1fa9b61105 Mon Sep 17 00:00:00 2001 From: Pedro Nuno Santos Date: Thu, 31 Oct 2024 12:06:33 +0000 Subject: [PATCH] Update github actions versions Signed-off-by: Pedro Nuno Santos --- .github/workflows/main.yml | 14 ++++++++------ .github/workflows/pr.yml | 4 ++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3882e95..0b09384 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,18 +6,18 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: {submodules: true} - run: scripts/test build-image: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: {submodules: true} - run: scripts/build - run: scripts/build-image - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: image path: image @@ -26,9 +26,11 @@ jobs: needs: [build-image] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/download-artifact@v1 - with: {name: image} + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: image + path: image - uses: docker://concourse/registry-image-resource with: {entrypoint: scripts/push-image} env: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index dead479..906028d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,14 +6,14 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: {submodules: true} - run: scripts/test build-image: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: {submodules: true} - run: scripts/build - run: scripts/build-image