File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,19 +29,20 @@ jobs:
2929 run : cmake --build build --config Release
3030
3131 - name : Copy DLL into Java resources
32+ shell : pwsh
3233 run : |
33- mkdir -p src/main/resources/native
34- copy build\Release\SMTC4J.dll src\main\resources\native\SMTC4J.dll
35- copy build\Release\SMTC4J.dll .
34+ New-Item -ItemType Directory -Path "src/main/resources/native" -Force
35+ Copy-Item -Path "build/Release/SMTC4J.dll" -Destination "src/main/resources/native/SMTC4J.dll" -Force
3636
3737 - name : Build Java JAR
3838 run : ./gradlew clean build
3939
4040 - name : Prepare release-artifacts folder
41+ shell : pwsh
4142 run : |
42- mkdir release-artifacts
43- copy build\ Release\ SMTC4J.dll release-artifacts\
44- copy build/libs/SMTC4J-${GITHUB_REF_NAME}.jar release-artifacts\
43+ New-Item -ItemType Directory -Path " release-artifacts" -Force
44+ Copy-Item -Path " build/ Release/ SMTC4J.dll" -Destination " release-artifacts/SMTC4J.dll" -Force
45+ Copy-Item -Path " build/libs/SMTC4J-${GITHUB_REF_NAME}.jar" -Destination " release-artifacts/SMTC4J.jar" -Force
4546
4647 - name : List release artifacts
4748 run : dir release-artifacts
You can’t perform that action at this time.
0 commit comments