File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : UPM Pack
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' feature/*'
8+ pull_request :
9+
10+ jobs :
11+ pack :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - name : Pack dev UPM packages
18+ if : github.event_name == 'pull_request'
19+ run : |
20+ ${{ github.workspace }}/Pipelines/Scripts/pack-upm.ps1
21+ -ProjectRoot: ${{ github.workspace }}/MixedRealityToolkit-Unity
22+ -OutputDirectory: ${{ github.workspace }}/build/upm/output
23+ -PrereleaseTag: dev
24+ -Revision: $(Get-Date -Format "yyMMddHHmmss")
25+ -BuildNumber: ${{ github.run_number }}
26+ shell : pwsh
27+
28+ - name : Pack preview UPM packages
29+ if : github.event_name == 'push'
30+ run : |
31+ ${{ github.workspace }}/Pipelines/Scripts/pack-upm.ps1
32+ -ProjectRoot: ${{ github.workspace }}/MixedRealityToolkit-Unity
33+ -OutputDirectory: ${{ github.workspace }}/build/upm/output
34+ -PrereleaseTag: pre
35+ -Revision: $(Get-Date -Format "yyMMddHHmmss")
36+ -BuildNumber: ${{ github.run_number }}
37+ shell : pwsh
38+
39+ - uses : actions/upload-artifact@v4
40+ with :
41+ path : ${{ github.workspace }}/build/upm/output
42+ retention-days : 1
You can’t perform that action at this time.
0 commit comments