File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Build Package
2
2
3
- on : [workflow_call]
3
+ on :
4
+ workflow_call :
5
+ outputs :
6
+ build_run_id : ${{ github.run_id }}
4
7
env :
5
8
PARTICLE_WINDOWS_SIGNING_CERT : ${{ secrets.PARTICLE_WINDOWS_SIGNING_CERT }}
6
9
PARTICLE_WINDOWS_SIGNING_PASS : ${{ secrets.PARTICLE_WINDOWS_SIGNING_PASS }}
Original file line number Diff line number Diff line change 7
7
required : true
8
8
description : ' The environment to publish to'
9
9
default : ' staging'
10
+ build_run_id :
11
+ type : number
12
+ required : true
13
+ description : ' The build run id'
10
14
jobs :
11
15
publish :
12
16
runs-on : ubuntu-latest
24
28
- name : Install dependencies
25
29
run : npm install
26
30
27
- - name : Download artifacts
28
- uses : actions/download-artifact@v2
31
+
32
+ - name : Download workflow artifact
33
+ uses : dawidd6/action-download-artifact@v3.1.4
29
34
with :
35
+ run_id : ${{ inputs.build_run_id }}
30
36
name : package
31
37
path : build/
32
38
Original file line number Diff line number Diff line change 17
17
needs : call-build
18
18
with :
19
19
environment : staging
20
+ build_run_id : ${{ needs.call-build.outputs.build_run_id }}
20
21
You can’t perform that action at this time.
0 commit comments