File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Combine artifacts
2+ on :
3+ workflow_run :
4+ workflows : [ "Build all" ]
5+ types :
6+ - completed
7+
8+ permissions :
9+ actions : read
10+ contents : read
11+
12+ jobs :
13+ package :
14+ runs-on : ubuntu-latest
15+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
16+ steps :
17+ - name : Download all artifacts
18+ uses : actions/download-artifact@v7
19+ with :
20+ pattern : wintab-adapter-gha${{github.event.workflow_run.run_number}}-*
21+ path : raw-artifacts
22+ run-id : ${{github.event.workflow_run.id}}
23+ github-token : ${{secrets.GITHUB_TOKEN}}
24+ - name : Organize and Combine
25+ run : |
26+ for arch in x86 x64; do
27+ rsync -av raw-artifacts/wintab-adapter-gha${{github.event.workflow_run.run_number}}-$arch/* combined/
28+ done
29+ - name : Upload combined binaries
30+ uses : actions/upload-artifact@v6
31+ with :
32+ name : wintab-adapter-gha${{github.event.workflow_run.run_number}}
33+ path : combined/bin/*
34+ - name : Upload combined debug symbols
35+ uses : actions/upload-artifact@v6
36+ with :
37+ name : wintab-adapter-gha${{github.event.workflow_run.run_number}}-debug-symbols
38+ path : combined/pdb/*
You can’t perform that action at this time.
0 commit comments