Skip to content

Commit fa6dbd5

Browse files
author
ahmed-n-abdeltwab
committed
fix(ci): update GitHub Actions to use v4 of upload-artifact and checkout actions
- Updated actions/checkout@v3 to v4 - Updated actions/upload-artifact@v3 to v4 - Added jq installation for release step
1 parent 8c67416 commit fa6dbd5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/train_and_release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Set up Python 3.9
2525
uses: actions/setup-python@v4
@@ -31,6 +31,9 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install -r requirements.txt
3333
34+
- name: Install jq
35+
run: sudo apt-get install -y jq
36+
3437
- name: Build Docker image
3538
run: docker build -t $DOCKER_IMAGE .
3639

@@ -59,7 +62,7 @@ jobs:
5962
tar -czvf ./$RELEASE_DIR/$RELEASE_NAME.tar.gz -C ./$RELEASE_DIR/$RELEASE_NAME .
6063
6164
- name: Upload artifact
62-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6366
with:
6467
name: model-release
6568
path: ./$RELEASE_DIR/*.tar.gz

0 commit comments

Comments
 (0)