From bb8d8a892dfac534ee92e26cb7e4d53c9946445c Mon Sep 17 00:00:00 2001 From: David Murphy Date: Fri, 12 Jul 2024 11:11:36 -0600 Subject: [PATCH] Updated GitHunb actions to later v4 --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/nightly.yml | 2 +- .github/workflows/release.yml | 18 +++++++++--------- .github/workflows/templates/ci-tail.yml | 2 +- .github/workflows/templates/ci.yml | 6 +++--- .github/workflows/test-linux.yml | 4 ++-- .github/workflows/test-macos.yml | 4 ++-- .github/workflows/test-windows.yml | 4 ++-- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c4e9cfb9..2b4a2f72f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -84,7 +84,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -109,7 +109,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -525,7 +525,7 @@ jobs: - name: Download Exit Status Files if: always() - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d04378611..bfdb47b13 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -54,7 +54,7 @@ jobs: environment: release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Salt Project GitHub Actions Bot Environment run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a18b485a..1c7ef66d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ jobs: outputs: release-version: ${{ steps.update-repo.outputs.release-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: develop repository: ${{ github.repository }} @@ -139,7 +139,7 @@ jobs: repository: ${{ github.repository }} - name: Upload Release Details - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release-details path: | @@ -158,7 +158,7 @@ jobs: permissions: contents: write # To be able to publish the release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: stable repository: ${{ github.repository }} @@ -205,7 +205,7 @@ jobs: git config --global commit.gpgsign true - name: Download Release Details - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release-details @@ -254,13 +254,13 @@ jobs: permissions: contents: write # To be able to publish the release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: stable repository: ${{ github.repository }} ssh-key: ${{ secrets.SALT_BOOTSTRAP_RELEASE_KEY }} - name: Download Release Details - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release-details @@ -303,7 +303,7 @@ jobs: environment: release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: stable repository: ${{ github.repository }} @@ -367,7 +367,7 @@ jobs: pull-requests: write # For action peter-evans/create-pull-request steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: stable repository: ${{ github.repository }} @@ -378,7 +378,7 @@ jobs: echo "SH=$(sha256sum bootstrap-salt.sh | awk '{ print $1 }')" >> "$GITHUB_ENV" echo "BS_VERSION=$(sh bootstrap-salt.sh -v | awk '{ print $4 }')" >> "$GITHUB_ENV" - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: develop repository: ${{ github.repository }} diff --git a/.github/workflows/templates/ci-tail.yml b/.github/workflows/templates/ci-tail.yml index e811d7fb7..da692ed87 100644 --- a/.github/workflows/templates/ci-tail.yml +++ b/.github/workflows/templates/ci-tail.yml @@ -11,7 +11,7 @@ - name: Download Exit Status Files if: always() - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/templates/ci.yml b/.github/workflows/templates/ci.yml index 0f292d301..c733ffe83 100644 --- a/.github/workflows/templates/ci.yml +++ b/.github/workflows/templates/ci.yml @@ -47,7 +47,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -84,7 +84,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -109,7 +109,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index dca430ac5..9c5420450 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -35,7 +35,7 @@ jobs: instance: ${{ fromJSON(inputs.instances) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -78,7 +78,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 425b158ef..b61c05bfb 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -42,7 +42,7 @@ jobs: instance: ${{ fromJSON(inputs.instances) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -86,7 +86,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 09eda400b..1120fd83b 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -45,7 +45,7 @@ jobs: instance: ${{ fromJSON(inputs.instances) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -115,7 +115,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus