From be5da6f0b55493e4902c239452ead61759399904 Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Thu, 12 Dec 2024 17:55:40 -0500 Subject: [PATCH] Update workflows to use artifact actions v4 and update actions/cache from v2 to v4 Signed-off-by: Joyce Quach --- .github/workflows/deprecated/jekyll-gh-pages.yml | 2 +- .github/workflows/deprecated/password-policy-min-time.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deprecated/jekyll-gh-pages.yml b/.github/workflows/deprecated/jekyll-gh-pages.yml index bdde2c0..421374d 100644 --- a/.github/workflows/deprecated/jekyll-gh-pages.yml +++ b/.github/workflows/deprecated/jekyll-gh-pages.yml @@ -35,7 +35,7 @@ jobs: source: ./ destination: ./_site - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v4 # Deployment job deploy: diff --git a/.github/workflows/deprecated/password-policy-min-time.yml b/.github/workflows/deprecated/password-policy-min-time.yml index 54f3cbb..532110c 100644 --- a/.github/workflows/deprecated/password-policy-min-time.yml +++ b/.github/workflows/deprecated/password-policy-min-time.yml @@ -40,14 +40,14 @@ jobs: mkdir staging && cp PasswordMinTimePolicy/target/*.jar staging - name: Set up a cache for Maven - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: Persist workflow data as artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: github-actions-artifact path: staging \ No newline at end of file