Skip to content

Commit

Permalink
upload android
Browse files Browse the repository at this point in the history
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
  • Loading branch information
mukilan committed Sep 13, 2024
1 parent 96d59e5 commit d05f976
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 31 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
required: false
default: "release"
type: string
upload:
required: false
default: false
type: boolean
workflow_dispatch:
inputs:
profile:
Expand Down
76 changes: 45 additions & 31 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,43 +69,57 @@ jobs:
RELEASE_ID: ${{ needs.create-draft-release.outputs.release-id }}
needs:
- create-draft-release
- upload-linux
- upload-win
- upload-mac
# - upload-linux
# - upload-win
# - upload-mac
- upload-android

upload-win:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Windows)
needs:
- create-draft-release
uses: ./.github/workflows/windows.yml
with:
profile: "production"
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit

upload-mac:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (macOS)
needs:
- create-draft-release
uses: ./.github/workflows/mac.yml
with:
profile: "production"
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
# upload-win:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (Windows)
# needs:
# - create-draft-release
# uses: ./.github/workflows/windows.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit
#
# upload-mac:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (macOS)
# needs:
# - create-draft-release
# uses: ./.github/workflows/mac.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit
#
# upload-linux:
# # This job is only useful when run on upstream servo.
# if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
# name: Upload nightly (Linux)
# needs:
# - create-draft-release
# uses: ./.github/workflows/linux.yml
# with:
# profile: "production"
# upload: true
# github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
# secrets: inherit

upload-linux:
upload-android:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Linux)
name: Upload nightly (Android)
needs:
- create-draft-release
uses: ./.github/workflows/linux.yml
uses: ./.github/workflows/android.yml
with:
profile: "production"
upload: true
Expand Down

0 comments on commit d05f976

Please sign in to comment.