Skip to content

Commit

Permalink
Upgrade GitHub Actions to latest major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptAutomate committed May 9, 2024
1 parent 9fa7825 commit a41e40c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-image-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
matrix-include: ${{ steps.generate-matrix.outputs.matrix }}
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python Tools Scripts
env:
Expand Down Expand Up @@ -59,10 +59,10 @@ jobs:

steps:
- name: Checkout Source Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Packer
uses: hashicorp-contrib/setup-packer@v2
uses: hashicorp-contrib/setup-packer@v3
with:
packer-version: 1.8.4

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Upload Build Manifest
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: manifest
path: manifest
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exitstatus
path: exitstatus
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
outputs:
changed-files: ${{ toJSON(steps.changed-files.outputs) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Get Changed Files
id: changed-files
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
with:
token: ${{ github.token }}
list-files: json
Expand Down Expand Up @@ -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
Expand All @@ -124,10 +124,10 @@ jobs:
jobs: ${{ steps.collect-jobs.outputs.jobs }}
runner-version: ${{ steps.collect-jobs.outputs.runner-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exitstatus
path: exitstatus
Expand Down Expand Up @@ -339,14 +339,14 @@ jobs:
steps:
- name: Download Exit Status Files
if: always()
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: exitstatus
path: exitstatus

- name: Delete Exit Status Artifacts
if: always()
uses: geekyeggo/delete-artifact@v2
uses: geekyeggo/delete-artifact@v5
with:
name: exitstatus
failOnError: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generate-configs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python Tools Scripts
env:
Expand All @@ -24,7 +24,7 @@ jobs:
python3 -m pip install -r requirements/tools.txt
- name: Download Manifest Files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: manifest
path: manifest
Expand All @@ -38,7 +38,7 @@ jobs:
jq < golden-images.json
- name: Upload golden-images.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: golden-images.json
path: golden-images.json
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exitstatus
path: exitstatus
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pre-commit-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"

- name: Setup Packer
uses: hashicorp-contrib/setup-packer@v2
uses: hashicorp-contrib/setup-packer@v3
with:
packer-version: 1.8.4

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Upload Exit Status
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exitstatus
path: exitstatus
Expand Down

0 comments on commit a41e40c

Please sign in to comment.