fix artifact path

This commit is contained in:
OmarHatem 2022-11-29 14:19:43 +02:00
parent b70838a308
commit b62e4cb064

View file

@ -111,15 +111,9 @@ jobs:
# - name: Send Test APK
# run: |
# cd /opt/android/cake_wallet
# var=$(curl --upload-file build/app/outputs/apk/release/app-release.apk https://transfer.sh/app-release.apk)
# var=$(curl --upload-file build/app/outputs/apk/release/app-release.apk https://transfer.sh/$GITHUB_HEAD_REF.apk)
# curl ${{ secrets.SLACK_WEB_HOOK }} -H "Content-Type: application/json" -d '{"apk_link": "'"$var"'","ticket": "'"$GITHUB_HEAD_REF"'"}'
- name: Send Test APK
run: |
var=$(curl --upload-file pubspec_base.yaml https://transfer.sh/$GITHUB_HEAD_REF.apk)
curl ${{ secrets.SLACK_WEB_HOOK }} -H "Content-Type: application/json" -d '{"apk_link": "'"$var"'","ticket": "'"$GITHUB_HEAD_REF"'"}'
- name: Rename apk
run: |
mv pubspec_base.yaml $GITHUB_HEAD_REF.apk
@ -129,5 +123,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: test-apks-artifacts
path: $GITHUB_HEAD_REF.apk
path: "\${{GITHUB_HEAD_REF}}.apk"