From 0fe1e7b6e72321b8988c9a689a8423a731ff3335 Mon Sep 17 00:00:00 2001 From: Menna Tullah Magdy Taha Date: Tue, 23 Apr 2024 11:04:07 +0200 Subject: [PATCH] Added dependency installation and checking directory existence --- .github/workflows/create-image.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-image.yml b/.github/workflows/create-image.yml index c08faf7..2d544f5 100644 --- a/.github/workflows/create-image.yml +++ b/.github/workflows/create-image.yml @@ -22,12 +22,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - name: Set up Python 3.8 - run: actions/setup-python@v3.8 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.10" - name: Install Github dependents info run: pip install -U github-dependents-info + - name: Check if directory exists run: | year=&(echo $(date '+%Y'))