Skip to content

Commit

Permalink
Ssh key (#45)
Browse files Browse the repository at this point in the history
* Added ssh key
  • Loading branch information
leonardopivetta authored Oct 15, 2022
1 parent 355b095 commit 931c9ed
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
python-version: "3.10"

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ACTION_SSH_KEY }}

- name: Setup protoc
run: |
DEBIAN_FRONTEND=noninteractive
Expand All @@ -30,7 +34,7 @@ jobs:
- name: Run canlib generator
run: |
pip install git+https://github.com/eagletrt/canlib.git#egg=canlib
pip install git+ssh://git@github.com/eagletrt/canlib.git#egg=canlib
canlib generate-all networks ids lib proto csv
mkdir -p /tmp/workspace
cp -R networks ids lib proto csv /tmp/workspace
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/try_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
with:
submodules: true

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ACTION_SSH_KEY }}

- uses: actions/setup-python@v3
name: Set up Python 3.10
with:
Expand All @@ -27,7 +31,7 @@ jobs:
- name: Run canlib generator
run: |
pip install git+https://github.com/eagletrt/canlib.git#egg=canlib
pip install git+ssh://git@github.com/eagletrt/canlib.git#egg=canlib
canlib generate-all networks ids lib proto csv
mkdir -p /tmp/workspace
cp -R networks ids lib proto csv /tmp/workspace
6 changes: 5 additions & 1 deletion .github/workflows/utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
name: Set up Python 3.10
with:
python-version: "3.10"

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ACTION_SSH_KEY }}

- name: Setup protoc
run: |
Expand All @@ -25,7 +29,7 @@ jobs:
- name: Run canlib generator
run: |
pip install git+https://github.com/eagletrt/canlib.git#egg=canlib
pip install git+ssh://git@github.com/eagletrt/canlib.git#egg=canlib
canlib generate-all networks ids lib proto csv
- run: |
Expand Down

0 comments on commit 931c9ed

Please sign in to comment.