mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Nightly workflow using platform workflows
This commit is contained in:
parent
ec5b646b50
commit
76e9c68ac7
4 changed files with 70 additions and 110 deletions
14
.github/workflows/mac.yml
vendored
14
.github/workflows/mac.yml
vendored
|
@ -10,6 +10,10 @@ on:
|
|||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
upload:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
layout:
|
||||
|
@ -20,6 +24,10 @@ on:
|
|||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
upload:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
push:
|
||||
branches: ["try-mac"]
|
||||
|
||||
|
@ -81,6 +89,12 @@ jobs:
|
|||
with:
|
||||
name: ${{ env.PACKAGE }}
|
||||
path: target/release/servo-tech-demo.dmg
|
||||
- name: Upload
|
||||
if: ${{ inputs.upload }}
|
||||
run: python3 ./mach upload-nightly mac --secret-from-environment
|
||||
env:
|
||||
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
||||
GITHUB_HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}
|
||||
- name: Package binary
|
||||
run: gtar -czf target.tar.gz target/release/servo target/release/*.dylib resources
|
||||
- name: Archive binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue