Skip to content

Commit

Permalink
[CI] Use reusable workflow from same repository and commit
Browse files Browse the repository at this point in the history
Eases testing of workflows.

The main drawback of this is that branches (e.g. mandrel/24.0) will keep
using their possibly outdated workflow, instead of the latest one
available on the `default` branch. Since things appear to be pretty
stable on this front, this shouldn't be a big issue.
  • Loading branch information
zakkak committed Jun 14, 2024
1 parent 9bfc162 commit 831f374
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/base-windows-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ on:

jobs:
delegate:
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
uses: ./.github/workflows/base-windows.yml
with:
quarkus-version: ${{ github.event.inputs.quarkus-version }}
quarkus-repo: ${{ github.event.inputs.quarkus-repo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ on:

jobs:
delegate:
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: ${{ github.event.inputs.quarkus-version }}
quarkus-repo: ${{ github.event.inputs.quarkus-repo }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
####
q-main-graal-23-latest:
name: "Q main G 23 latest"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
version: "graal/master"
Expand All @@ -45,7 +45,7 @@ jobs:
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
q-main-mandrel-23-latest:
name: "Q main M 23 latest"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
version: "graal/master"
Expand All @@ -59,7 +59,7 @@ jobs:
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
q-main-mandrel-23-latest-win:
name: "Q main M 23 latest windows"
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
uses: ./.github/workflows/base-windows.yml
with:
quarkus-version: "main"
version: "graal/master"
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
####
# q-main-mandrel-jdk-22:
# name: "Q main M latest JDK 22"
# uses: graalvm/mandrel/.github/workflows/base.yml@default
# uses: ./.github/workflows/base.yml
# with:
# quarkus-version: "main"
# version: "graal/master"
Expand All @@ -48,7 +48,7 @@ jobs:
# UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
# q-main-mandrel-jdk-22-win:
# name: "Q main M latest JDK 22 windows"
# uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
# uses: ./.github/workflows/base-windows.yml
# with:
# quarkus-version: "main"
# version: "graal/master"
Expand All @@ -66,7 +66,7 @@ jobs:
####
q-main-graal-21-latest:
name: "Q main G 21 latest"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
version: "graal/master"
Expand All @@ -80,7 +80,7 @@ jobs:
####
q-main-mandrel-24_0:
name: "Q main M 24 JDK 22"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
build-stats-tag: "gha-linux-qmain-m24_0-builder-image"
Expand All @@ -92,7 +92,7 @@ jobs:
####
q-main-mandrel-24_0-ea:
name: "Q main M 24.0 JDK 22 EA"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
version: "mandrel/24.0"
Expand All @@ -107,7 +107,7 @@ jobs:
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
q-main-mandrel-24_0-ea-win:
name: "Q main M 24.0 EA windows"
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
uses: ./.github/workflows/base-windows.yml
with:
quarkus-version: "main"
version: "mandrel/24.0"
Expand All @@ -125,7 +125,7 @@ jobs:
####
q-main-mandrel-23_1:
name: "Q main M 23.1 JDK 21"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
version: "mandrel/23.1"
Expand All @@ -140,7 +140,7 @@ jobs:
UPLOAD_COLLECTOR_TOKEN: ${{ secrets.UPLOAD_COLLECTOR_TOKEN }}
q-main-mandrel-23_1-win:
name: "Q main M 23.1 windows"
uses: graalvm/mandrel/.github/workflows/base-windows.yml@default
uses: ./.github/workflows/base-windows.yml
with:
quarkus-version: "main"
version: "mandrel/23.1"
Expand All @@ -158,7 +158,7 @@ jobs:
####
q-main-mandrel-23_0:
name: "Q main M 23.0 JDK 17"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "main"
build-type: "mandrel-source-nolocalmvn"
Expand All @@ -170,7 +170,7 @@ jobs:
####
q-3_2-mandrel-23_0:
name: "Q 3.2 M 23.0 JDK 17"
uses: graalvm/mandrel/.github/workflows/base.yml@default
uses: ./.github/workflows/base.yml
with:
quarkus-version: "3.2"
build-type: "mandrel-source-nolocalmvn"
Expand Down

0 comments on commit 831f374

Please sign in to comment.