Skip to content

Commit 1d6ba97

Browse files
authored
Merge pull request #22 from bcmi-labs/build-fix2
Yet another attempt to fix the build.
2 parents d6fb7e2 + 94b9fbe commit 1d6ba97

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- script: yarn
3333
env:
3434
GITHUB_TOKEN: $(Personal.GitHub.Token)
35+
THEIA_ELECTRON_SKIP_REPLACE_FFMPEG: 1
3536
displayName: Build
3637
- bash: |
3738
yarn --cwd ./electron/packager/
@@ -59,7 +60,7 @@ jobs:
5960
vmImage: ubuntu-16.04
6061
dependsOn:
6162
- Build
62-
condition: and(in(variables['Build.Reason'], 'Manual', 'Schedule'), startsWith(variables['Release.Tag'], 'v'))
63+
condition: and(succeeded(), and(in(variables['Build.Reason'], 'Manual', 'Schedule'), startsWith(variables['Release.Tag'], 'v')))
6364
steps:
6465
- task: DownloadBuildArtifacts@0
6566
displayName: Download

electron/packager/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
const fs = require('fs');
66
const join = require('path').join;
77
const shell = require('shelljs');
8+
shell.env.THEIA_ELECTRON_SKIP_REPLACE_FFMPEG = '1';
89
const utils = require('./utils');
910
const { version, release } = utils.versionInfo();
1011

0 commit comments

Comments
 (0)