File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 57
57
- name : Run tests (Windows)
58
58
if : runner.os == 'Windows'
59
59
run : opam exec -- node scripts/ciTest.js -mocha -theme
60
+
61
+ - name : Get artifact info
62
+ id : get_artifact_info
63
+ run : node .github/workflows/get_artifact_info.js
64
+
65
+ - name : Upload artifacts
66
+ uses : actions/upload-artifact@v3
67
+ with :
68
+ name : ${{ steps.get_artifact_info.outputs.artifact_name }}
69
+ path : ${{ steps.get_artifact_info.outputs.artifact_path }}
Original file line number Diff line number Diff line change
1
+ const artifactPath =
2
+ process . platform === "darwin" && process . arch === "arm64"
3
+ ? process . platform + process . arch
4
+ : process . platform ;
5
+
6
+ const artifactName = "binaries-" + artifactPath ;
7
+
8
+ // Pass artifactPath and artifactName to subsequent GitHub actions
9
+ console . log ( `::set-output name=artifact_path::${ artifactPath } ` ) ;
10
+ console . log ( `::set-output name=artifact_name::${ artifactName } ` ) ;
You can’t perform that action at this time.
0 commit comments