Update .gitea/workflows/build.yml
This commit is contained in:
parent
0fbb34b12a
commit
493d2e7703
@ -2,8 +2,6 @@ name: Build
|
|||||||
|
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
permissions: {}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -124,7 +122,6 @@ jobs:
|
|||||||
throw new Error('Failed to build one or more configurations');
|
throw new Error('Failed to build one or more configurations');
|
||||||
}
|
}
|
||||||
compile-matrix:
|
compile-matrix:
|
||||||
if: ${{ !cancelled() }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [core-coverage, board-changes, nightly]
|
needs: [core-coverage, board-changes, nightly]
|
||||||
outputs:
|
outputs:
|
||||||
@ -164,7 +161,6 @@ jobs:
|
|||||||
shieldArgs: JSON.stringify(shieldArgs),
|
shieldArgs: JSON.stringify(shieldArgs),
|
||||||
}));
|
}));
|
||||||
core-coverage:
|
core-coverage:
|
||||||
if: ${{ needs.get-changed-files.outputs.core-changes == 'true' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-changed-files
|
needs: get-changed-files
|
||||||
outputs:
|
outputs:
|
||||||
@ -195,7 +191,6 @@ jobs:
|
|||||||
|
|
||||||
return [...include, ...coreCoverage.include];
|
return [...include, ...coreCoverage.include];
|
||||||
board-changes:
|
board-changes:
|
||||||
if: ${{ needs.get-changed-files.outputs.board-changes == 'true' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [get-grouped-hardware, get-changed-files]
|
needs: [get-grouped-hardware, get-changed-files]
|
||||||
outputs:
|
outputs:
|
||||||
@ -279,7 +274,6 @@ jobs:
|
|||||||
});
|
});
|
||||||
}))).flat();
|
}))).flat();
|
||||||
nightly:
|
nightly:
|
||||||
if: ${{ github.event_name == 'schedule' && github.repository_owner == 'zmkfirmware' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-grouped-hardware
|
needs: get-grouped-hardware
|
||||||
outputs:
|
outputs:
|
||||||
@ -403,7 +397,6 @@ jobs:
|
|||||||
return JSON.stringify(grouped).replace(/\\/g,"\\\\").replace(/`/g,"\\`");
|
return JSON.stringify(grouped).replace(/\\/g,"\\\\").replace(/`/g,"\\`");
|
||||||
result-encoding: string
|
result-encoding: string
|
||||||
get-changed-files:
|
get-changed-files:
|
||||||
if: ${{ github.event_name != 'schedule' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
changed-files: ${{ steps.changed-files.outputs.all_changed_files }}
|
changed-files: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
|
Loading…
Reference in New Issue
Block a user