File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 9090 kotlin/target/classes/native
9191
9292 build-centos7 :
93- runs-on : ubuntu-latest
94- container :
95- image : " kcllang/kcl-java-builder-centos7:0.1.0"
93+ runs-on : ubuntu-20.04
9694
9795 permissions :
9896 contents : read
@@ -128,10 +126,13 @@ jobs:
128126 name : kcl-lib-osx-aarch_64
129127 path : kotlin/native
130128
131- - name : Package Kotlin artifact
132- working-directory : kotlin
129+ - name : Run tests and package in CentOS 7 container
133130 run : |
134- rustup default stable && mvn package -DskipTests=true -Dcargo-build.profile=release
131+ docker run --rm -v ${{ github.workspace }}/kotlin:/work kcllang/kcl-java-builder-centos7:0.1.0 bash -c "
132+ cd /work &&
133+ rustup default stable &&
134+ mvn package -DskipTests=true -Dcargo-build.profile=release
135+ "
135136
136137 - name : Upload artifact
137138 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments