Skip to content

Commit

Permalink
checking identity
Browse files Browse the repository at this point in the history
  • Loading branch information
okankoAMZ committed Sep 21, 2023
1 parent 0f5cd91 commit 93a97db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ jobs:
with:
key: "cached_binaries_${{ github.sha }}"
path: go.mod
- name: AWS Sanity Check
run: |
aws ec2 run-instances --image-id ami-077d93c1d1ce335af --instance-type t2.micro --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=github test}]'
- name: Build Uniform Build Env
if: contains(inputs.BucketKey, 'test') == false || steps.cached_binaries.outputs.cache-hit == false
run: |
aws sts get-caller-identity
cd packaging/uniformBuild
go build .
./uniformBuild -r "${{github.repositoryUrl}}" -b "main" -c "${{github.sha}} -a ${{secrets.AWS_TEST_ACCOUNT_ID}}"
Expand Down

0 comments on commit 93a97db

Please sign in to comment.