Skip to content

Commit

Permalink
Fix identation.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Aug 16, 2024
1 parent 4c89715 commit 2e5a967
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
source .venv/bin/activate
echo "Fetching BUILD_VERSION_S3 from S3..."
export BUILD_VERSION_S3=$(python -c "
import boto3
import os
s3 = boto3.client('s3')
try:
s3.download_file('biothings-codebuild', '${{ env.BUILD_VERSION_FILE }}', '${{ env.BUILD_VERSION_FILE }}')
with open('${{ env.BUILD_VERSION_FILE }}', 'r') as file:
print(file.read().strip())
except Exception as e:
print('No ${{ env.BUILD_VERSION_FILE }} found in S3, assuming first run.')
import boto3
import os
s3 = boto3.client('s3')
try:
s3.download_file('biothings-codebuild', '${{ env.BUILD_VERSION_FILE }}', '${{ env.BUILD_VERSION_FILE }}')
with open('${{ env.BUILD_VERSION_FILE }}', 'r') as file:
print(file.read().strip())
except Exception as e:
print('No ${{ env.BUILD_VERSION_FILE }} found in S3, assuming first run.')
")
echo "BUILD_VERSION_S3=$BUILD_VERSION_S3" >> $GITHUB_ENV
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
echo "Storing new BUILD_VERSION_S3 to S3..."
echo "${{ env.BUILD_VERSION_HUB }}" > ${{ env.BUILD_VERSION_FILE }}
python -c "
import boto3
s3 = boto3.client('s3')
s3.upload_file('${{ env.BUILD_VERSION_FILE }}', 'biothings-codebuild', '${{ env.BUILD_VERSION_FILE }}')
import boto3
s3 = boto3.client('s3')
s3.upload_file('${{ env.BUILD_VERSION_FILE }}', 'biothings-codebuild', '${{ env.BUILD_VERSION_FILE }}')
"
# - name: Setup tmate debug session on failure
Expand Down

0 comments on commit 2e5a967

Please sign in to comment.