Skip to content

Commit

Permalink
arm mac uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
sagudev committed Jan 31, 2024
1 parent 9fe91d8 commit 0b2fedd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ jobs:
- name: Upload artifact for mach package
uses: actions/upload-artifact@v3
with:
name: mac
name: ${{ inputs.arm && 'mac-arm' || 'mac' }}
path: target/${{ inputs.profile }}/servo-tech-demo.dmg
- name: Upload nightly
if: ${{ inputs.upload }}
run: |
python3 ./mach upload-nightly mac --secret-from-environment \
python3 ./mach upload-nightly ${{ inputs.arm && 'mac-arm' || 'mac' }} --secret-from-environment \
--github-release-id ${{ inputs.github-release-id }}
env:
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
Expand All @@ -153,7 +153,7 @@ jobs:
- name: Upload package for target
uses: actions/upload-artifact@v3
with:
name: release-binary-macos
name: release-binary-${{ inputs.arm && 'mac-arm' || 'mac' }}
path: target.tar.gz

wpt-2020:
Expand Down
3 changes: 3 additions & 0 deletions python/servo/package_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
'mac': [
'production/servo-tech-demo.dmg',
],
'mac-arm': [
'production/servo-tech-demo.dmg',
],
'maven': [
'android/gradle/servoview/maven/org/mozilla/servoview/servoview-armv7/',
'android/gradle/servoview/maven/org/mozilla/servoview/servoview-x86/',
Expand Down

0 comments on commit 0b2fedd

Please sign in to comment.