Use deploy key to build Element Enterprise
This commit is contained in:
parent
4fdf5907ee
commit
e7893560fd
2 changed files with 10 additions and 2 deletions
6
.github/workflows/nightly_enterprise.yml
vendored
6
.github/workflows/nightly_enterprise.yml
vendored
|
|
@ -17,8 +17,12 @@ jobs:
|
||||||
if: ${{ github.repository == 'element-hq/element-x-android' }}
|
if: ${{ github.repository == 'element-hq/element-x-android' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Add SSH private keys for submodule repositories
|
||||||
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
|
||||||
|
- name: Clone submodules
|
||||||
|
run: git submodule update --init --recursive
|
||||||
- name: Use JDK 17
|
- name: Use JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -47,8 +47,12 @@ jobs:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Add SSH private keys for submodule repositories
|
||||||
|
uses: webfactory/ssh-agent@v0.9.0
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }}
|
||||||
|
- name: Clone submodules
|
||||||
|
run: git submodule update --init --recursive
|
||||||
- name: Use JDK 17
|
- name: Use JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue