You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: CI: Windows: Skip installing Rust (#12502)
This commit is contained in:
@@ -49,6 +49,7 @@ runs:
|
||||
|
||||
- uses: olegtarasov/get-tag@v2.1.4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
if: ${{ runner.os != 'Windows' }}
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18.18.0'
|
||||
|
5
.github/workflows/ui-tests.yml
vendored
5
.github/workflows/ui-tests.yml
vendored
@@ -16,6 +16,11 @@ jobs:
|
||||
uses: ./.github/workflows/shared/setup-build-environment
|
||||
- name: Build
|
||||
run: yarn install
|
||||
env:
|
||||
# The onenote-converter package uses Rust, which isn't installed on all CI
|
||||
# runners. Since the onenote-converter doesn't have UI tests, it can be excluded
|
||||
# from build:
|
||||
SKIP_ONENOTE_CONVERTER_BUILD: 1
|
||||
- name: Run UI tests
|
||||
shell: bash
|
||||
run: |
|
||||
|
@@ -13,6 +13,13 @@ async function main() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Sometimes the onenote-converter build needs to be disabled in CI.
|
||||
if (process.env.SKIP_ONENOTE_CONVERTER_BUILD) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.info('SKIP_ONENOTE_CONVERTER_BUILD was set. The onenote-converter package will not be built.');
|
||||
return;
|
||||
}
|
||||
|
||||
const argv = yargs.argv;
|
||||
if (!argv.profile) throw new Error('OneNote build: profile value is missing');
|
||||
if (!['release', 'dev'].includes(argv.profile)) throw new Error('OneNote build: profile value is invalid');
|
||||
|
Reference in New Issue
Block a user