File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 88 BRANCH : " master"
99 git-credential-helper : yes
1010 secrets-manager :
11- GH_TOKEN : Github/aws-crypto-tools-ci-bot:personal\ access\ token\ (new\ token\ format)
11+ GH_TOKEN : Github/aws-crypto-tools-ci-bot:ESDK Release Token
1212
1313phases :
1414 pre_build :
1515 commands :
1616 # get new project version
1717 - export VERSION=$(grep version pom.xml | head -n 1 | sed -n 's/[ \t]*<version>\(.*\)<\/version>/\1/p')
18+ - git config --global user.name "aws-crypto-tools-ci-bot"
19+ -
git config --global user.email "[email protected] " 20+ - echo $GH_TOKEN > token.txt
21+ - export GH_TOKEN=
1822 # install gh cli in order to upload artifacts
1923 - curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
2024 - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
@@ -24,7 +28,8 @@ phases:
2428 build :
2529 commands :
2630 - gh version
27- - gh auth login --with-token < $GH_TOKEN
31+ - gh auth login --with-token < token.txt
32+ - gh auth status
2833 - |
2934 mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get \
3035 -DrepoUrl=https://aws.oss.sonatype.org \
You can’t perform that action at this time.
0 commit comments