Skip to content

Commit

Permalink
Add steps for pushing signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
pmconrad committed Nov 28, 2019
1 parent 1784b1d commit d39e36f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-and-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@ jobs:
./run-gitian -s BitShares-Gitian-Auto-Build-Signer \
-O linux -p `pwd`/.github/gpg-wrapper \
${{ github.event.deployment.payload.coreversion }}
- name: Push Signatures
run: |
git config add user.name "BitShares Github Autobuild"
git config add user.email "bga@noreply"
BRANCH="autobuild-signatures-linux-$(date -u +%Y-%m-%dT%H:%M:%SZ)"
git checkout -b "$BRANCH"
git add signatures
git commit -m "Add Linux autobuild signature for ${{ github.event.deployment.payload.coreversion }}"
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$BRANCH"
- name: Upload build artifacts
uses: actions/upload-artifact@master
with:
Expand Down Expand Up @@ -195,6 +204,15 @@ jobs:
./run-gitian -s BitShares-Gitian-Auto-Build-Signer \
-O osx -p `pwd`/.github/gpg-wrapper \
${{ github.event.deployment.payload.coreversion }}
- name: Push Signatures
run: |
git config add user.name "BitShares Github Autobuild"
git config add user.email "bga@noreply"
BRANCH="autobuild-signatures-osx-$(date -u +%Y-%m-%dT%H:%M:%SZ)"
git checkout -b "$BRANCH"
git add signatures
git commit -m "Add OSX autobuild signature for ${{ github.event.deployment.payload.coreversion }}"
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$BRANCH"
- name: Upload build artifacts
uses: actions/upload-artifact@master
with:
Expand Down Expand Up @@ -244,6 +262,15 @@ jobs:
./run-gitian -s BitShares-Gitian-Auto-Build-Signer \
-O win -p `pwd`/.github/gpg-wrapper \
${{ github.event.deployment.payload.coreversion }}
- name: Push Signatures
run: |
git config add user.name "BitShares Github Autobuild"
git config add user.email "bga@noreply"
BRANCH="autobuild-signatures-win-$(date -u +%Y-%m-%dT%H:%M:%SZ)"
git checkout -b "$BRANCH"
git add signatures
git commit -m "Add win autobuild signature for ${{ github.event.deployment.payload.coreversion }}"
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$BRANCH"
- name: Upload build artifacts
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit d39e36f

Please sign in to comment.