Skip to content

Commit

Permalink
Merge pull request #1860 from microsoft/simonz/20221128/correct-sarpl…
Browse files Browse the repository at this point in the history
…us-packaging-workflow

Correct packaging commands in SARPlus workflow
  • Loading branch information
miguelgfierro authored Nov 28, 2022
2 parents aa9cf1c + 4130520 commit aa0ff88
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/sarplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,16 @@ jobs:
for file in {*.jar,*.pom}; do gpg -ab "${file}"; done
# bundle
jar cvf sarplus-${SARPLUS_VERSION}-bundle_2.12-spark-${SPARK_VERSION}.jar sarplus_*.jar sarplus_*.pom sarplus_*.asc
[ '${{ matrix.spark-version }}' == '3.1.2' ] \
&& jar cvf sarplus-${SARPLUS_VERSION}-bundle_2.12-spark-${SPARK_VERSION}.jar \
sarplus_*.jar \
sarplus_*.pom \
sarplus_*.asc
[ '${{ matrix.spark-version }}' == '3.2.1' ] \
&& jar cvf sarplus-spark-3.2-plus-bundle_2.12-${SARPLUS_VERSION}.jar \
sarplus-spark*.jar \
sarplus-spark*.pom \
sarplus-spark*.asc
# set sarplus_version for the artifact upload step
echo "sarplus_version=${SARPLUS_VERSION}" >> $GITHUB_ENV
Expand Down

0 comments on commit aa0ff88

Please sign in to comment.