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
13
.github/workflows/linux.yml
vendored
13
.github/workflows/linux.yml
vendored
|
@ -12,6 +12,10 @@ on:
|
|||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
upload:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
layout:
|
||||
|
@ -27,6 +31,10 @@ on:
|
|||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
upload:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
push:
|
||||
branches: ["try-linux", "try-wpt"]
|
||||
|
||||
|
@ -73,6 +81,11 @@ jobs:
|
|||
with:
|
||||
name: ${{ env.PACKAGE }}
|
||||
path: target/release/servo-tech-demo.tar.gz
|
||||
- name: Upload
|
||||
if: ${{ inputs.upload }}
|
||||
run: python3 ./mach upload-nightly ${{ env.PACKAGE }} --secret-from-environment
|
||||
env:
|
||||
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
||||
- name: Package binary
|
||||
run: tar -czf target.tar.gz target/release/servo resources
|
||||
- name: Archive binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue