Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
VexedUXR committed Nov 13, 2024
1 parent 5d8c5ff commit 7a88a25
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/cross-bootstrap-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,31 @@ permissions:
contents: read

jobs:
modified_files:
name: get modified files
setup:
name: Setup
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.changes.outputs.files }}
archs: sup
steps:
- uses: actions/checkout@v4
- name: get modified files
- uses: dorny/paths-filter@v3
id: changes
run: |
echo "files=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.push.before }} ${{ github.sha }} | xargs)"
echo "files=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.push.before }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT
with:
base: ${{ github.ref_name }}
filters: |
amd64:
- 'sys/amd64'
arm64:
- 'sys/arm64'
all:
- '**/${{ github.workflow }}'
- run: |
echo "Tried to match ${{ github.workflow }}"
echo "${{ join(steps.changes.outputs, ' ') }}" && exit 1
build:
name: ${{ matrix.target_arch }} buildkernel on ${{ matrix.os }} (${{ matrix.compiler }})
runs-on: ${{ matrix.os }}
needs: modified_files
needs: setup
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -87,9 +96,6 @@ jobs:
target: powerpc
steps:
- uses: actions/checkout@v4
- name: check modified files
run: |
echo ${{ needs.modified_files.outputs.changes }} && exit 1
- name: install packages (Ubuntu)
if: runner.os == 'Linux'
run: |
Expand Down

0 comments on commit 7a88a25

Please sign in to comment.