fix: generate ssh key for the ssh clone to run #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
push: | |
name: Test Auto-version | |
jobs: | |
auto-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Init Hermit | |
run: ./bin/hermit env -r >> $GITHUB_ENV | |
- name: Auto-version | |
env: | |
GITHUB_TOKEN: ${{ secrets.AUTO_VERSIONING }} | |
run: | | |
set -xe | |
ssh-keygen -o -t rsa -C "[email protected]" --no-passphrase -f ~/.ssh/id_rsa | |
git ls-remote --refs --tags [email protected]:aws/aws-cli.git | |