Skip to content

Commit

Permalink
pin java version 21 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Dec 3, 2024
1 parent e9ed94e commit 00b8ae0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/actions/create-lint-wf/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ runs:
cd create-lint-wf
export NXF_WORK=$(pwd)
# Set up Nextflow
- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/create-lint-wf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
NXF_ANSI_LOG: false

jobs:
MakeTestWorkflow:
runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}
env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64
strategy:
matrix:
NXF_VER:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-test-lint-wf-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ concurrency:

env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
Expand All @@ -51,6 +52,7 @@ jobs:
needs: prepare-matrix
env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64
strategy:
matrix:
TEMPLATE: ${{ fromJson(needs.prepare-matrix.outputs.all_features) }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/create-test-wf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
NXF_ANSI_LOG: false

jobs:
RunTestWorkflow:
# use the runner given by the input if it is dispatched manually, run on github if it is a rerun or on self-hosted by default
runs-on: ${{ github.event.inputs.runners || github.run_number > 1 && 'ubuntu-latest' || 'self-hosted' }}
env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64
strategy:
matrix:
NXF_VER:
Expand Down
1 change: 1 addition & 0 deletions nf_core/pipeline-template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:

env:
NXF_ANSI_LOG: false
JAVA_HOME: $JAVA_HOME_21_X64

jobs:
download:
Expand Down

0 comments on commit 00b8ae0

Please sign in to comment.