mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Try uploading renamed apk file
This commit is contained in:
@@ -126,12 +126,16 @@ jobs:
|
||||
mv pubspec_base.yaml test-apk/$GITHUB_HEAD_REF.apk
|
||||
cd test-apk
|
||||
ls
|
||||
apkPath=pwd/${{ GITHUB_HEAD_REF }}.apk
|
||||
apkPath=pwd/$GITHUB_HEAD_REF.apk
|
||||
echo "===================="
|
||||
echo $apkPath
|
||||
echo "===================="
|
||||
echo "artifactPath=test-apk/${{ GITHUB_HEAD_REF.apk }}" >> $GITHUB_ENV
|
||||
echo "artifactPath=test-apk/$GITHUB_HEAD_REF.apk" >> $GITHUB_ENV
|
||||
echo "artifactPath2=test-apk/\$GITHUB_HEAD_REF.apk" >> $GITHUB_ENV
|
||||
echo "artifactPath3=test-apk/\${{ GITHUB_HEAD_REF.apk }}" >> $GITHUB_ENV
|
||||
echo ${{ env.artifactPath }}
|
||||
echo ${{ env.artifactPath2 }}
|
||||
echo ${{ env.artifactPath3 }}
|
||||
|
||||
- name: Upload Artifact
|
||||
continue-on-error: true
|
||||
@@ -153,5 +157,21 @@ jobs:
|
||||
with:
|
||||
name: test-apks-artifacts
|
||||
path: ${{ env.artifactPath }}
|
||||
retention-days: 30
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload Artifact
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-apks-artifacts
|
||||
path: ${{ env.artifactPath2 }}
|
||||
retention-days: 1
|
||||
|
||||
- name: Upload Artifact
|
||||
continue-on-error: true
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-apks-artifacts
|
||||
path: ${{ env.artifactPath3 }}
|
||||
retention-days: 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user