forked from mirrors/rustdesk
fix(action): artifact upload fix
This commit is contained in:
parent
0554ff62f9
commit
4c6f62a354
2 changed files with 11 additions and 11 deletions
20
.github/workflows/custom-android-build.yml
vendored
20
.github/workflows/custom-android-build.yml
vendored
|
|
@ -149,7 +149,7 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Restore bridge files
|
||||
uses: actions/download-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||
with:
|
||||
name: bridge-artifact
|
||||
path: ./
|
||||
|
|
@ -191,7 +191,7 @@ jobs:
|
|||
esac
|
||||
|
||||
- name: Upload Rustdesk library to Artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: librustdesk.so.${{ matrix.job.target }}
|
||||
path: ./target/${{ matrix.job.target }}/release/liblibrustdesk.so
|
||||
|
|
@ -257,14 +257,14 @@ jobs:
|
|||
|
||||
- name: Upload signed APK
|
||||
if: env.ANDROID_SIGNING_KEY != null && env.UPLOAD_ARTIFACT == 'true'
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.apk
|
||||
path: ${{ steps.sign-rustdesk.outputs.signedReleaseFile }}
|
||||
|
||||
- name: Upload unsigned APK
|
||||
if: env.ANDROID_SIGNING_KEY == null && env.UPLOAD_ARTIFACT == 'true'
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.apk
|
||||
path: signed-apk/rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}${{ matrix.job.suffix }}.apk
|
||||
|
|
@ -336,25 +336,25 @@ jobs:
|
|||
add-to-path: true
|
||||
|
||||
- name: Restore bridge files
|
||||
uses: actions/download-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||
with:
|
||||
name: bridge-artifact
|
||||
path: ./
|
||||
|
||||
- name: Download arm64 library
|
||||
uses: actions/download-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||
with:
|
||||
name: librustdesk.so.aarch64-linux-android
|
||||
path: ./flutter/android/app/src/main/jniLibs/arm64-v8a
|
||||
|
||||
- name: Download armv7 library
|
||||
uses: actions/download-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||
with:
|
||||
name: librustdesk.so.armv7-linux-androideabi
|
||||
path: ./flutter/android/app/src/main/jniLibs/armeabi-v7a
|
||||
|
||||
- name: Download x86_64 library
|
||||
uses: actions/download-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/download-artifact@v4
|
||||
with:
|
||||
name: librustdesk.so.x86_64-linux-android
|
||||
path: ./flutter/android/app/src/main/jniLibs/x86_64
|
||||
|
|
@ -412,14 +412,14 @@ jobs:
|
|||
|
||||
- name: Upload signed universal APK
|
||||
if: env.ANDROID_SIGNING_KEY != null && env.UPLOAD_ARTIFACT == 'true'
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: rustdesk-${{ env.VERSION }}-universal.apk
|
||||
path: ${{ steps.sign-rustdesk.outputs.signedReleaseFile }}
|
||||
|
||||
- name: Upload unsigned universal APK
|
||||
if: env.ANDROID_SIGNING_KEY == null && env.UPLOAD_ARTIFACT == 'true'
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: rustdesk-${{ env.VERSION }}-universal.apk
|
||||
path: signed-apk/rustdesk-${{ env.VERSION }}-universal${{ env.suffix }}.apk
|
||||
|
|
|
|||
2
.github/workflows/custom-bridge.yml
vendored
2
.github/workflows/custom-bridge.yml
vendored
|
|
@ -86,7 +86,7 @@ jobs:
|
|||
cp ./flutter/macos/Runner/bridge_generated.h ./flutter/ios/Runner/bridge_generated.h
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@master
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: bridge-artifact
|
||||
path: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue