Skip to content
Snippets Groups Projects
Commit 3afde25b authored by Signal Linden's avatar Signal Linden
Browse files

Upload macos installer

parent d842eb98
No related branches found
No related tags found
No related merge requests found
...@@ -10,11 +10,11 @@ jobs: ...@@ -10,11 +10,11 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
runner: [windows-2022-public-005] runner: [windows-2022, macos-11]
configuration: [ReleaseOS] configuration: [ReleaseOS]
addrsize: [64] addrsize: [64]
include: include:
- runner: windows-2022-public-005 - runner: windows-2022
configuration: ReleaseOS configuration: ReleaseOS
addrsize: 32 addrsize: 32
runs-on: ${{ matrix.runner }} runs-on: ${{ matrix.runner }}
...@@ -43,7 +43,7 @@ jobs: ...@@ -43,7 +43,7 @@ jobs:
id: cache-installables id: cache-installables
with: with:
path: .autobuild-installables path: .autobuild-installables
key: ${{ matrix.runner }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }} key: ${{ runner.os }}-${{ matrix.addrsize }}-${{ matrix.configuration }}-${{ hashFiles('autobuild.xml') }}
- name: Install windows dependencies - name: Install windows dependencies
if: runner.os == 'Windows' if: runner.os == 'Windows'
...@@ -62,12 +62,14 @@ jobs: ...@@ -62,12 +62,14 @@ jobs:
if [[ "$RUNNER_OS" == "Windows" ]]; then if [[ "$RUNNER_OS" == "Windows" ]]; then
installer_path=$(find ./build-*/newview/ | grep '_Setup\.exe') installer_path=$(find ./build-*/newview/ | grep '_Setup\.exe')
installer_name="$(basename $installer_path)" installer_name="$(basename $installer_path)"
echo "::set-output name=installer_path::$installer_path" elif [[ "$RUNNER_OS" == "macOS" ]]; then
echo "::set-output name=installer_name::$installer_name" installer_path=$(find ./build-*/newview/ | grep '\.dmg')
installer_name="$(basename $installer_path)"
fi fi
echo "::set-output name=installer_path::$installer_path"
echo "::set-output name=installer_name::$installer_name"
- name: Upload installer - name: Upload installer
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ steps.build.outputs.installer_name }} name: ${{ steps.build.outputs.installer_name }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment