mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-03-12 18:07:10 -04: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:
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
@@ -42,7 +42,9 @@ jobs:
|
|||||||
- name: Commit
|
- name: Commit
|
||||||
run: |
|
run: |
|
||||||
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
|
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
|
||||||
git config --global user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
git add dist/
|
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 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
|
||||||
|
|||||||
Reference in New Issue
Block a user