Skip to content

Commit

Permalink
use env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
StRigaud committed Jan 6, 2025
1 parent d0e185d commit d2aa0da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,8 @@ jobs:
jar xf macos-artifact/${{steps.mvn_info.outputs.name}}-${{steps.mvn_info.outputs.version}}.jar net/clesperanto/macosx-arm64
mkdir -p libs
mkdir -p target/checkout/libs
cp -r net/clesperanto/* libs/
cp -r net/clesperanto/* target/checkout/libs/
shell: bash -l {0}

- name: List files in libs folder
run: |
pwd
ls -la libs/
mv net/clesperanto/* libs/
echo "CLIC_LIBS_PATH=$(pwd)/libs" >> $GITHUB_ENV
shell: bash -l {0}

- name: Set up CI environment
Expand All @@ -187,3 +180,4 @@ jobs:
MAVEN_PASS: ${{ secrets.MAVEN_PASS }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
SIGNING_ASC: ${{ secrets.SIGNING_ASC }}
CLIC_LIBS_PATH: ${{ env.CLIC_LIBS_PATH }}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>net.clesperanto</groupId>
<artifactId>clesperantoj</artifactId>
<version>0.16.8-SNAPSHOT</version>
<version>0.16.7-SNAPSHOT</version>

<properties>
<package-name>net.clesperanto</package-name>
Expand Down Expand Up @@ -366,7 +366,7 @@
<outputDirectory>${project.basedir}/target/classes/net/clesperanto</outputDirectory>
<resources>
<resource>
<directory>${project.rootDirectory}/libs</directory>
<directory>${env.CLIC_LIBS_PATH}</directory>
<filtering>false</filtering>
</resource>
</resources>
Expand Down

0 comments on commit d2aa0da

Please sign in to comment.