File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ publish :
7+ permissions :
8+ id-token : write
9+ contents : read
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-python@v1
14+ with :
15+ python-version : ' 3.11'
16+ architecture : x64
17+ - run : pip install pip==22.1.2 wheel==0.37.1 build==0.8.0
18+ - run : python -m build --wheel
19+ - name : Configure AWS Credentials
20+ uses : aws-actions/configure-aws-credentials@v2
21+ with :
22+ role-to-assume : ${{ secrets.AWS_GITHUB_WORKFLOWS_ROLE_ARN }}
23+ aws-region : us-east-1
24+ 25+ with :
26+ AWS_ACCESS_KEY_ID : ${{ env.AWS_ACCESS_KEY_ID }}
27+ AWS_SECRET_ACCESS_KEY : ${{ env.AWS_SECRET_ACCESS_KEY }}
28+ AWS_SESSION_TOKEN : ${{ env.AWS_SESSION_TOKEN }}
29+ FILES : dist/*
You can’t perform that action at this time.
0 commit comments