Skip to content

Commit

Permalink
Add release key to create release job
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed May 29, 2024
1 parent ac3b3a7 commit 06b2604
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/angr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Add release key
run: |
mkdir -p ~/.ssh
echo "${RELEASE_KEY}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan github.com >> ~/.ssh/known_hosts
env:
RELEASE_SSH_KEY: ${{ secrets.RELEASE_KEY }}
- name: Checkout repos
run: release-scripts/checkout_repos.sh
- name: Create release commits
Expand Down
1 change: 1 addition & 0 deletions release-scripts/checkout_repos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

source $(dirname $0)/vars.sh

Expand Down

0 comments on commit 06b2604

Please sign in to comment.