mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Auto merge of #28441 - servo:fix-win-nightly, r=jdm
Fix windows nightly job
This commit is contained in:
commit
e0fe01d78b
1 changed files with 17 additions and 4 deletions
21
.github/workflows/nightly.yml
vendored
21
.github/workflows/nightly.yml
vendored
|
@ -73,19 +73,32 @@ jobs:
|
|||
fetch-depth: 2
|
||||
- name: Copy to C drive
|
||||
run: cp D:\a C:\ -Recurse
|
||||
- uses: suisei-cn/actions-download-file@v1
|
||||
id: wix311-binaries
|
||||
name: Download wix binaries
|
||||
with:
|
||||
url: "https://github.com/wixtoolset/wix3/releases/download/wix3111rtm/wix311-binaries.zip"
|
||||
target: "C:\\wix311-binaries.zip"
|
||||
- uses: DuckSoft/extract-7z-action@v1.0
|
||||
name: Extract wix binaries
|
||||
with:
|
||||
pathSource: "C:\\wix311-binaries.zip"
|
||||
pathTarget: "C:\\wix"
|
||||
- name: Add binaries to path
|
||||
run: echo "C:\\wix" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
- name: Bootstrap
|
||||
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
|
||||
working-directory: "C:\\a\\servo\\servo"
|
||||
run: |
|
||||
python -m pip install --upgrade pip virtualenv
|
||||
python mach fetch
|
||||
- name: Release build
|
||||
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
|
||||
working-directory: "C:\\a\\servo\\servo"
|
||||
run: python mach build --release --media-stack=dummy
|
||||
- name: Package
|
||||
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
|
||||
working-directory: "C:\\a\\servo\\servo"
|
||||
run: python mach package --release
|
||||
- name: Upload
|
||||
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
|
||||
working-directory: "C:\\a\\servo\\servo"
|
||||
run: python mach upload-nightly windows-msvc --secret-from-environment
|
||||
env:
|
||||
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue