forked from mozilla-mobile/fenix
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI actions to remove deprecated set-env, new apk signing action
Removing set-env due to the vunerability mentioned by Github here: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
- Loading branch information
1 parent
dca8a2f
commit 2c98a87
Showing
4 changed files
with
26 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,42 +17,14 @@ jobs: | |
with: | ||
java-version: 11 | ||
- name: Create version name | ||
run: echo "::set-env name=VERSION_NAME::$(git describe --tags HEAD)" | ||
run: echo "VERSION_NAME=$(git describe --tags HEAD)" >> $GITHUB_ENV | ||
- name: Build forkRelease variant of app | ||
uses: eskatos/gradle-command-action@v1 | ||
with: | ||
wrapper-cache-enabled: true | ||
dependencies-cache-enabled: true | ||
configuration-cache-enabled: true | ||
arguments: assembleForkRelease -PversionName=${{ env.VERSION_NAME }} | ||
- name: Create signed APKs | ||
uses: abhijitvalluri/[email protected] | ||
with: | ||
releaseDirectory: app/build/outputs/apk/forkRelease/ | ||
signingKeyBase64: ${{ secrets.DEBUG_SIGNING_KEY }} | ||
alias: ${{ secrets.DEBUG_ALIAS }} | ||
keyStorePassword: ${{ secrets.DEBUG_KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.DEBUG_KEY_PASSWORD }} | ||
- name: Archive arm64 apk | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-arm64-v8a-forkRelease.apk | ||
path: app/build/outputs/apk/forkRelease/app-arm64-v8a-forkRelease.apk | ||
- name: Archive armeabi apk | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-armeabi-v7a-forkRelease.apk | ||
path: app/build/outputs/apk/forkRelease/app-armeabi-v7a-forkRelease.apk | ||
- name: Archive x86 apk | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-x86-forkRelease.apk | ||
path: app/build/outputs/apk/forkRelease/app-x86-forkRelease.apk | ||
- name: Archive x86_64 apk | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: app-x86_64-forkRelease.apk | ||
path: app/build/outputs/apk/forkRelease/app-x86_64-forkRelease.apk | ||
|
||
|
||
run-testDebug: | ||
|
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