From da881f3642d59904d96de0902b5e93feb6e8fa1c Mon Sep 17 00:00:00 2001 From: OllieJC <5426038+OllieJC@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:28:38 +0000 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e23c7fe..a8ebca4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,15 +50,10 @@ jobs: with: terraform_version: ${{ env.terraform_version }} - - name: Read .python-version file - run: | - PV=$(cat main/.python-version | tr -d [:space:]) - echo "python_version=${PV}" - echo "python_version=${PV}" >> $GITHUB_OUTPUT - - uses: actions/setup-python@v4 - working-directory: main - + with: + python-version: '3.11' + - name: Show me files run: ls -lah @@ -82,6 +77,7 @@ jobs: run: | cd main/ chmod +x build/*.sh + python -V bash build/build_lambda.sh - name: Configure AWS credentials