summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-08 17:01:46 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-08 17:01:46 -0400
commit2d04cc14d3805df982d51d96d2e3d180f5ef0b34 (patch)
tree8fedb898318957b342ef01039510df671d99a52a /.github/workflows/build.yaml
parentc87d9c635b71d761e0ef84c1a9442759db721487 (diff)
SL-19242: Post -app artifact, not -exe, with entire install image.
Previously we posted Windows-exe, macOS-exe artifacts that were a little inconsistent: Windows-exe contained just the Windows executable, whereas macOS-exe contained the whole .app tree (but without the .app directory). Change to post Windows-app, macOS-app artifacts that each contain the whole viewer install image, including the top-level application name directory. This is what we'll need to codesign and notarize.
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 7e3d2b68de..8146db36ee 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -223,11 +223,16 @@ jobs:
${{ steps.build.outputs.installer }}
- name: Upload executable
- if: matrix.configuration != 'ReleaseOS' && steps.build.outputs.viewer_exe
+ if: matrix.configuration != 'ReleaseOS' && steps.build.outputs.viewer_app
uses: actions/upload-artifact@v3
with:
- name: "${{ steps.build.outputs.artifact }}-exe"
- path: ${{ steps.build.outputs.viewer_exe }}
+ name: "${{ steps.build.outputs.artifact }}-app"
+ # The directory specified as viewer_app contains the directory
+ # containing the application image. Strip out any other build
+ # detritus from the artifact.
+ path: |
+ ${{ steps.build.outputs.viewer_app }}
+ "!${{ steps.build.outputs.viewer_app }}/*.bat"
# The other upload of nontrivial size is the symbol file. Use a distinct
# artifact for that too.