You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- run: pnpm dlx @gravityci/cli "./target/release/gerust" "./target/package/gerust-*.crate" # keep track of the sizes of both the .crate file as well as the binary
20
+
- name: 'Download artifact'
21
+
uses: actions/github-script@v6
22
+
with:
23
+
script: |
24
+
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
25
+
owner: context.repo.owner,
26
+
repo: context.repo.repo,
27
+
run_id: context.payload.workflow_run.id,
28
+
});
29
+
30
+
let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => {
31
+
return artifact.name == "artifacts"
32
+
})[0];
33
+
34
+
let download = await github.rest.actions.downloadArtifact({
0 commit comments