-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(cherry picked from commit 1315d55)
- Loading branch information
Showing
7 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,12 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Run code quality check suite | ||
|
@@ -78,10 +80,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Use JDK 17 | ||
|
@@ -118,10 +122,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Use JDK 17 | ||
|
@@ -162,10 +168,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Use JDK 17 | ||
|
@@ -202,10 +210,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Use JDK 17 | ||
|
@@ -242,10 +252,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: Use JDK 17 | ||
|
@@ -277,6 +289,7 @@ jobs: | |
name: Project Check Suite | ||
runs-on: ubuntu-latest | ||
needs: [konsist, lint, ktlint, detekt] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ jobs: | |
enterprise: | ||
name: Create App Bundle Enterprise | ||
runs-on: ubuntu-latest | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
concurrency: | ||
group: ${{ format('build-release-main-enterprise-{0}', github.sha) }} | ||
|
@@ -50,6 +51,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,10 +40,12 @@ jobs: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} | ||
- name: Add SSH private keys for submodule repositories | ||
uses: webfactory/[email protected] | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
with: | ||
ssh-private-key: ${{ secrets.ELEMENT_ENTERPRISE_DEPLOY_KEY }} | ||
- name: Clone submodules | ||
# Skip in forks | ||
if: ${{ github.repository == 'element-hq/element-x-android' }} | ||
run: git submodule update --init --recursive | ||
- name: ☕️ Use JDK 17 | ||
|