mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2627 App | Tech | Github CI actions for release artefacts
This commit is contained in:
parent
9a9c1ff5e3
commit
a6ce29883b
1 changed files with 11 additions and 5 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
RELEASE_STORE_PWD: ${{ secrets.RELEASE_STORE_PWD }}
|
||||
run: ./scripts/release/setup-store.sh $token_secret $RELEASE_KEY_ALIAS $RELEASE_KEY_PWD $RELEASE_STORE_PWD
|
||||
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
name: Setup license repository
|
||||
repository: anyproto/open
|
||||
|
@ -57,9 +57,15 @@ jobs:
|
|||
if: always()
|
||||
run: ./scripts/release/clean-secrets.sh
|
||||
|
||||
- name: Upload artifacts
|
||||
- name: Prepare artefacts
|
||||
uses: actions/upload-artifact@master
|
||||
run: mkdir app/build/outputs/apk/release/release-artefacts/ mv app/build/outputs/apk/release/*.apk app/build/outputs/apk/release/release-artefacts/
|
||||
|
||||
- name: Upload to S3
|
||||
uses: shallwefootball/s3-upload-action@v1.3.3
|
||||
with:
|
||||
name: Release APK.
|
||||
path: |
|
||||
app/build/outputs/apk/release/
|
||||
aws_key_id: ${{ secrets.AWS_KEY_ID }}
|
||||
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}
|
||||
aws_bucket: ${{ secrets.AWS_BUCKET }}
|
||||
endpoint: ${{ secrets.AWS_ENDPOINT }}
|
||||
path: app/build/outputs/apk/release/release-artefacts/
|
Loading…
Add table
Add a link
Reference in a new issue