Skip to content

Commit e19dd9c

Browse files
Merge pull request #6 from ahmed-n-abdeltwab/feature/make-modular
fix(ci): update GitHub Actions to use v4 of upload-artifact and check…
2 parents 6262244 + fa6dbd5 commit e19dd9c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.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)