Skip to content

Commit

Permalink
nope, setup-java it is
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Dec 3, 2024
1 parent a604cb5 commit 8bc1a30
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 30 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/create-test-lint-wf-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ jobs:
python -m pip install --upgrade pip
pip install .
# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/create-test-wf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ jobs:
python -m pip install --upgrade pip
pip install .
# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,10 @@ jobs:
id: date
run: echo "date=$(date +'%Y-%m')" >> $GITHUB_ENV

# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down
9 changes: 4 additions & 5 deletions nf_core/pipeline-template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
download:
runs-on: ubuntu-latest
steps:
# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down
9 changes: 4 additions & 5 deletions nf_core/pipeline-template/.github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

# Set up JAVA_HOME for Java 21
- name: Set Java 21
run: |
echo "JAVA_HOME=$JAVA_HOME_21_X64" >> $GITHUB_ENV
echo "PATH=$JAVA_HOME_21_X64/bin:$PATH" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: "21"
distribution: "temurin"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
Expand Down

0 comments on commit 8bc1a30

Please sign in to comment.