-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
116 changed files
with
5,024 additions
and
2,359 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,105 +7,80 @@ on: | |
# Triggers the workflow on push events to the specified branch | ||
push: | ||
branches: [ master ] | ||
tags: | ||
- 'v*' | ||
|
||
## Define jobs to be run sequentially or parallel | ||
#jobs: | ||
# # First job to be run called "build" | ||
# build: | ||
# # The type of runner the job will run on | ||
# runs-on: ubuntu-latest | ||
# | ||
# # Sequence of tasks that will be executed as part of the job | ||
# steps: | ||
# | ||
# # Checkout the repository so that the job can access it | ||
# - name: checkout | ||
# uses: actions/checkout@v2 | ||
# | ||
# | ||
# # Set up our gradle properties for access by the Android build | ||
# - name: set up gradle properties | ||
# env: | ||
# HoverUsername: ${{ secrets.HOVER_USERNAME }} | ||
# HoverPassword: ${{ secrets.HOVER_PASSWORD }} | ||
# shell: bash | ||
# run: | | ||
# mkdir ~/.gradle | ||
# echo "GRADLE_USER_HOME=$HOME/.gradle" >> $GITHUB_ENV | ||
# echo "HoverUsername=$HoverUsername" >> ~/.gradle/gradle.properties | ||
# echo "HoverPassword=$HoverPassword" >> ~/.gradle/gradle.properties | ||
# | ||
# | ||
# # Set up JDK 1.8 for use | ||
# - name: set up JDK 1.8 | ||
# uses: actions/setup-java@v1 | ||
# with: | ||
# # Specific java version to run | ||
# java-version: 1.8 | ||
# | ||
# | ||
# # Run the assembleRelease gradle command to start the build process for our buildVariant | ||
# - name: Assemble QA Bundle | ||
# id: buildBundle | ||
# uses: eskatos/[email protected] | ||
# with: | ||
# # Can be overridden with the desired gradle version | ||
# gradle-version: 6.7.1 | ||
# wrapper-cache-enabled: true | ||
# dependencies-cache-enabled: true | ||
# configuration-cache-enabled: true | ||
# # Specifies the gradle command to be run, can be replaced with any desired task | ||
# arguments: bundleRelease | ||
# | ||
# | ||
# # Sign the generated apk | ||
# - name: Sign artifact | ||
# id: signArtifact | ||
# uses: r0adkll/sign-android-release@v1 | ||
# with: | ||
# releaseDirectory: app/build/outputs/bundle/release | ||
# signingKeyBase64: ${{ secrets.SIGNING_KEY }} | ||
# alias: ${{ secrets.ALIAS }} | ||
# keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
# keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
# | ||
# | ||
# # Create release with tag on Github | ||
# - name: Create Release | ||
# id: createRelease | ||
# uses: actions/create-release@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# tag_name: ${{ github.ref }} | ||
# release_name: Release ${{ github.ref }} | ||
# draft: false | ||
# prerelease: false | ||
# | ||
# | ||
# # Deploy to alpha track | ||
# - name: Deploy to beta test track | ||
# uses: r0adkll/upload-google-play@v1 | ||
# with: | ||
# serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_SERVICE_ACCOUNT }} | ||
# packageName: com.hover.stax | ||
# releaseFiles: app/build/outputs/bundle/release/*.aab | ||
# track: production | ||
## whatsNewDirectory: whatsnew/ | ||
# | ||
# | ||
# # Send slack notification | ||
# - name: Send Slack notification | ||
# uses: Ilshidur/[email protected] | ||
# env: | ||
# SLACK_WEBHOOK: ${{ secrets.STAX_SLACK_WEBHOOK }} | ||
# SLACK_USERNAME: StaxDeploymentBot | ||
# SLACK_CHANNEL: stax | ||
# SLACK_AVATAR: sender | ||
# with: | ||
# args: 'Stax has just been deployed to Play Store production track. :truck:' | ||
|
||
# Define jobs to be run sequentially or parallel | ||
jobs: | ||
# First job to be run called "build" | ||
build: | ||
# The type of runner the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Sequence of tasks that will be executed as part of the job | ||
steps: | ||
|
||
# Checkout the repository so that the job can access it | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
|
||
# Set up our gradle properties for access by the Android build | ||
- name: set up gradle properties | ||
env: | ||
HoverUsername: ${{ secrets.HOVER_USERNAME }} | ||
HoverPassword: ${{ secrets.HOVER_PASSWORD }} | ||
shell: bash | ||
run: | | ||
mkdir ~/.gradle | ||
echo "GRADLE_USER_HOME=$HOME/.gradle" >> $GITHUB_ENV | ||
echo "HoverUsername=$HoverUsername" >> ~/.gradle/gradle.properties | ||
echo "HoverPassword=$HoverPassword" >> ~/.gradle/gradle.properties | ||
# Set up JDK 1.8 for use | ||
- name: set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
# Specific java version to run | ||
java-version: 1.8 | ||
|
||
|
||
# Run the assembleRelease gradle command to start the build process for our buildVariant | ||
- name: Assemble QA Bundle | ||
id: buildBundle | ||
uses: eskatos/[email protected] | ||
with: | ||
# Can be overridden with the desired gradle version | ||
gradle-version: 6.7.1 | ||
wrapper-cache-enabled: true | ||
dependencies-cache-enabled: true | ||
configuration-cache-enabled: true | ||
# Specifies the gradle command to be run, can be replaced with any desired task | ||
arguments: bundleRelease | ||
|
||
|
||
# Sign the generated apk | ||
- name: Sign artifact | ||
id: signArtifact | ||
uses: r0adkll/sign-android-release@v1 | ||
with: | ||
releaseDirectory: app/build/outputs/bundle/release | ||
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | ||
alias: ${{ secrets.ALIAS }} | ||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
|
||
|
||
# Create release with tag on Github | ||
- name: Create Release | ||
id: createRelease | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
|
||
|
||
|
||
|
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
uses: actions/setup-java@v1 | ||
with: | ||
# Specific java version to run | ||
java-version: 1.8 | ||
java-version: 11 | ||
|
||
|
||
# Run the assembleRelease gradle command to start the build process for our buildVariant | ||
|
@@ -50,7 +50,7 @@ jobs: | |
uses: eskatos/[email protected] | ||
with: | ||
# Can be overridden with the desired gradle version | ||
gradle-version: 6.7.1 | ||
gradle-version: 7.0.2 | ||
wrapper-cache-enabled: true | ||
dependencies-cache-enabled: true | ||
configuration-cache-enabled: true | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.