mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-09 04:47:07 +00:00
Kellertk/packaging fix (#567)
* fix: packaging test failure The tests fail if there are credentials available in the env, so we need to get the AWS credentials *after* the package step. * chore: remove unnecessary environment manipulation * fix: packaging fixes
This commit is contained in:
parent
6d8fe38ac8
commit
f4ef658335
1 changed files with 5 additions and 3 deletions
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
|
|
@ -42,7 +42,9 @@ jobs:
|
|||
- name: Commit
|
||||
run: |
|
||||
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
|
||||
git config --global user.name "GitHub Actions"
|
||||
git add dist/
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email "github-aws-sdk-osds-automation@amazon.com"
|
||||
git remote set-url origin https://x-access-token:${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
|
||||
git add dist
|
||||
git commit -m "chore: Update dist" || echo "No changes to commit"
|
||||
git push https://${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
|
||||
git push origin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue