Skip to content

Commit be5da6f

Browse files
committed
Update workflows to use artifact actions v4 and update actions/cache from v2 to v4
Signed-off-by: Joyce Quach <jquach@mitre.org>
1 parent 7467b92 commit be5da6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deprecated/jekyll-gh-pages.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
source: ./
3636
destination: ./_site
3737
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v4
3939

4040
# Deployment job
4141
deploy:

.github/workflows/deprecated/password-policy-min-time.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
mkdir staging && cp PasswordMinTimePolicy/target/*.jar staging
4141
4242
- name: Set up a cache for Maven
43-
uses: actions/cache@v2
43+
uses: actions/cache@v4
4444
with:
4545
path: ~/.m2
4646
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4747
restore-keys: ${{ runner.os }}-m2
4848

4949
- name: Persist workflow data as artifacts
50-
uses: actions/upload-artifact@v2
50+
uses: actions/upload-artifact@v4
5151
with:
5252
name: github-actions-artifact
5353
path: staging

0 commit comments

Comments
 (0)