From 77236a35a4176caf88ab8a74f07bfd77cf2c9615 Mon Sep 17 00:00:00 2001
From: Brandon Shien <bshien@amazon.com>
Date: Tue, 3 Dec 2024 10:33:12 -0800
Subject: [PATCH] Remove dco and update artifact action to v4

Signed-off-by: Brandon Shien <bshien@amazon.com>
---
 .github/workflows/dco.yml                      | 18 ------------------
 ...ports-scheduler-test-and-build-workflow.yml |  8 ++++----
 2 files changed, 4 insertions(+), 22 deletions(-)
 delete mode 100644 .github/workflows/dco.yml

diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml
deleted file mode 100644
index cf30ea89..00000000
--- a/.github/workflows/dco.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-name: Developer Certificate of Origin Check
-
-on: [pull_request]
-
-jobs:
-  check:
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Get PR Commits
-        id: 'get-pr-commits'
-        uses: tim-actions/get-pr-commits@v1.1.0
-        with:
-          token: ${{ secrets.GITHUB_TOKEN }}
-      - name: DCO Check
-        uses: tim-actions/dco@v1.1.0
-        with:
-          commits: ${{ steps.get-pr-commits.outputs.commits }}
diff --git a/.github/workflows/reports-scheduler-test-and-build-workflow.yml b/.github/workflows/reports-scheduler-test-and-build-workflow.yml
index 60ad11d6..3c290177 100644
--- a/.github/workflows/reports-scheduler-test-and-build-workflow.yml
+++ b/.github/workflows/reports-scheduler-test-and-build-workflow.yml
@@ -46,9 +46,9 @@ jobs:
           cp -r ./build/distributions/*.zip reports-scheduler-builds/
 
       - name: Upload Artifacts
-        uses: actions/upload-artifact@v1
+        uses: actions/upload-artifact@v4
         with:
-          name: reports-scheduler-linux
+          name: reports-scheduler-linux-${{ matrix.java }}
           path: reports-scheduler-builds
 
   windows-build:
@@ -79,7 +79,7 @@ jobs:
           cp -r ./build/distributions/*.zip reports-scheduler-builds/
 
       - name: Upload Artifacts
-        uses: actions/upload-artifact@v1
+        uses: actions/upload-artifact@v4
         with:
-          name: reports-scheduler-windows
+          name: reports-scheduler-windows-${{ matrix.java }}
           path: reports-scheduler-builds