-
-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change directory structure of workflow artifacts (#406)
* change directory structure of workflow artefacts * Apply suggestions from code review to please Max's OCD :P Co-authored-by: Max Rumpf <[email protected]> Co-authored-by: Max Rumpf <[email protected]>
- Loading branch information
1 parent
0901083
commit 6a6307d
Showing
2 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,24 +28,21 @@ jobs: | |
run: ./gradlew --no-daemon --info assembleRelease versionTxt | ||
- name: Split APK release types | ||
run: | | ||
mkdir -p build/jellyfin-publish/release-libre build/jellyfin-publish/release-proprietary; | ||
mv app/build/outputs/apk/*/*/jellyfin-android-*-libre-release.apk build/jellyfin-publish/release-libre/; | ||
mv app/build/outputs/apk/*/*/jellyfin-android-*-proprietary-release.apk build/jellyfin-publish/release-proprietary/; | ||
mv app/build/version.txt build/jellyfin-publish/; | ||
mkdir -p build/jellyfin-publish | ||
mv app/build/outputs/apk/*/*/jellyfin-android-*-libre-release.apk build/jellyfin-publish/ | ||
mv app/build/outputs/apk/*/*/jellyfin-android-*-proprietary-release.apk build/jellyfin-publish/ | ||
mv app/build/version.txt build/jellyfin-publish/ | ||
- name: Upload release artifacts | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
asset_paths: | | ||
["build/jellyfin-publish/release-libre/*", | ||
"build/jellyfin-publish/release-proprietary/*", | ||
"build/jellyfin-publish/version.txt"] | ||
asset_paths: '["build/jellyfin-publish/*"]' | ||
- name: Upload to repo.jellyfin.org | ||
uses: burnett01/[email protected] | ||
with: | ||
switches: -vrptz | ||
path: build/jellyfin-publish/**/ | ||
path: build/jellyfin-publish/ | ||
remote_path: /srv/repository/releases/client/android/versions/v${{ env.JELLYFIN_VERSION }} | ||
remote_host: ${{ secrets.DEPLOY_HOST }} | ||
remote_user: ${{ secrets.DEPLOY_USER }} | ||
|