Skip to content

Commit f4ef658

Browse files
authored
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
1 parent 6d8fe38 commit f4ef658

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/package.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
- name: Commit
4343
run: |
4444
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
45-
git config --global user.name "GitHub Actions"
46-
git add dist/
45+
git config user.name "GitHub Actions"
46+
git config user.email "[email protected]"
47+
git remote set-url origin https://x-access-token:${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
48+
git add dist
4749
git commit -m "chore: Update dist" || echo "No changes to commit"
48-
git push https://${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
50+
git push origin

0 commit comments

Comments
 (0)