Skip to content

Commit

Permalink
Create aws.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Aug 29, 2023
1 parent 348349c commit 2a93ec7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: AWS Tests

on:
push

env:
AWS_REGION : "us-east-1"

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
S3PackageUpload:
runs-on: ubuntu-latest
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::918074996169:role/GitHub
role-session-name: samplerolesession
aws-region: ${{ env.AWS_REGION }}
- name: List s3 buckets
run: aws s3 ls

0 comments on commit 2a93ec7

Please sign in to comment.