Skip to content

Commit

Permalink
Fix artifact upload for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCanali committed Jan 20, 2025
1 parent 68800a5 commit d18b699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_with_scala_and_python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
run: sbt +test

- name: Upload sparkMeasure package for Scala 2.13 (Java 11 and Python 3.11)
if: matrix.java == '11' && matrix.python == '3.11'
if: matrix.java-version == '11' && matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: sparkMeasure package scala 2.13
path: target/scala-2.13/*.jar
# This upload step is conditional on Java 11 and Python 3.11

- name: Upload sparkMeasure package for Scala 2.12 (Java 8 and Python 3.11)
if: matrix.java == '8' && matrix.python == '3.11'
if: matrix.java-version == '8' && matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: sparkMeasure package scala 2.12
Expand Down

0 comments on commit d18b699

Please sign in to comment.