Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
YajanaRao committed Dec 19, 2021
2 parents 4ede3b3 + 25e47be commit f3c30b6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 27 deletions.
47 changes: 20 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
ENV_SECRET: ${{ secrets.ENV_SECRET }}
run: echo $ENV_SECRET | base64 -d > packages/mobile/.env

- name: Add Version details
run: echo -e "\nVERSION_CODE = ${{ github.run_number }}" >> packages/mobile/.env

- name: Cache Gradle Wrapper
uses: actions/cache@v2
Expand Down Expand Up @@ -135,31 +137,22 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: v${{ github.run_number }}
# release_name: Release v${{ github.run_number }}

# - name: Display structure of downloaded files
# run: ls -R

# - name: Display structure of downloaded files 1
# run: ls
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: Release v${{ github.run_number }}

# - name: Current working directory
# run: pwd

# - name: Upload Release APK
# id: upload_release_asset
# uses: actions/upload-release-asset@v1.0.1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: /home/runner/work/Serenity/Serenity/app-release.apk
# asset_name: Serenity.apk
# asset_content_type: application/zip
- name: Upload Release APK
id: upload_release_asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /home/runner/work/Serenity/Serenity/app-release.apk
asset_name: Serenity.apk
asset_content_type: application/zip
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"redux": "^4.1.0"
},
"scripts": {
"test": "jest",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
}
}

0 comments on commit f3c30b6

Please sign in to comment.