Skip to content

Commit

Permalink
Run matrix on push and PR
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Jul 18, 2024
1 parent cb45dee commit 775c4e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-matrix-xvfb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: Run all versions with Xvfb
on:
workflow_dispatch:
workflow_call:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down Expand Up @@ -73,6 +76,7 @@ jobs:
- { mc: 1.8.9, type: lexforge, modloader: forge, regex: .*orge.*, java: 8 }
- { mc: 1.7.10, type: lexforge, modloader: forge, regex: .*orge.*, java: 8 }
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
needs: build
steps:
- uses: actions/download-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: Run all versions with HMC -lwjgl
on:
workflow_dispatch:
workflow_call:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand Down Expand Up @@ -73,6 +76,7 @@ jobs:
- { mc: 1.8.9, type: lexforge, modloader: forge, regex: .*orge.*, java: 8 }
- { mc: 1.7.10, type: lexforge, modloader: forge, regex: .*orge.*, java: 8 }
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
needs: build
steps:
- uses: actions/download-artifact@v4
Expand Down

0 comments on commit 775c4e1

Please sign in to comment.