Skip to content

Commit

Permalink
fix typo and use name of actual secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mier85 committed Sep 30, 2020
1 parent a2793cd commit d76a9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
MAVEN='https://oss.sonatype.org/service/local/staging/deploy/maven2'
MAVEN_AUTH='${{ secrets.sonatype_username }}:${{ secrets.sonatype_password }}'
GPG_KEY_ID='${{ steps.import_gpg.outputs.keyid }}'
GPG_PASSPHARSE='${{ secrets.PASSPHRASE }}'
GPG_PASSPHRASE='${{ secrets.GPG_PASSPHRASE }}'
cat > pom.xml << EOF
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Expand All @@ -52,7 +52,7 @@ jobs:
for f in "${FILES[@]}"; do sha512sum $f > $f.sha512; done;
# sign files
for f in "${FILES[@]}"; do gpg --local-user $GPG_KEY_ID --batch --yes --passphrase=$GPG_PASSPHARSE --yes --pinentry-mode loopback -ab $f; done;
for f in "${FILES[@]}"; do gpg --local-user $GPG_KEY_ID --batch --yes --passphrase=GPG_PASSPHRASE --yes --pinentry-mode loopback -ab $f; done;
# upload checksums
for f in "${FILES[@]}"; do curl -X PUT -u "$MAVEN_AUTH" "$MAVEN/com/sixt/protobuf/protoc/${VERSION}/${f}.sha512" --upload-file "${f}.sha512"; done;
Expand Down

0 comments on commit d76a9e9

Please sign in to comment.