diff --git a/.github/workflows/build-and-release-desktop.yml b/.github/workflows/build-and-release-desktop.yml index feb727c3365..a7891e57e60 100644 --- a/.github/workflows/build-and-release-desktop.yml +++ b/.github/workflows/build-and-release-desktop.yml @@ -57,7 +57,7 @@ jobs: needs: [setup] strategy: matrix: - os: [ubuntu-20.04, macos-11, windows-2019] + os: [ubuntu-20.04, macos-12, windows-2019] fail-fast: true env: VERSION: ${{ needs.setup.outputs.version }} @@ -96,7 +96,7 @@ jobs: - name: Set deployment target (macOS) run: echo "MACOSX_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV # TODO: set this to 10.12 once rocksDB issue is fixed - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Install required packages (Linux) run: | @@ -146,7 +146,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} working-directory: packages/desktop - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Build Electron app (Windows) run: yarn compile:${env:STAGE}:win @@ -185,7 +185,7 @@ jobs: - name: Compute checksums (macOS) run: for i in `ls | grep 'firefly-*'` ; do shasum -a 256 $i | awk {'print $1'} > $i.sha256 ; done working-directory: packages/desktop/out - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Compute checksums (Windows) run: Get-ChildItem "." -Filter firefly-* | Foreach-Object { $(Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash | Set-Content ($_.FullName + '.sha256') } @@ -224,7 +224,7 @@ jobs: - name: Downloading artifacts uses: actions/download-artifact@v2 with: - name: firefly-desktop-macos-11 + name: firefly-desktop-macos-12 path: assets - name: Downloading artifacts diff --git a/.github/workflows/build-desktop-test.v1.yml b/.github/workflows/build-desktop-test.v1.yml index 7376868642d..46dfd772a54 100644 --- a/.github/workflows/build-desktop-test.v1.yml +++ b/.github/workflows/build-desktop-test.v1.yml @@ -11,7 +11,7 @@ jobs: if: ${{ always() }} strategy: matrix: - os: [ubuntu-18.04, macos-11, windows-2019] + os: [ubuntu-18.04, macos-12, windows-2019] fail-fast: true env: VERSION: '1.7.2-test' @@ -51,7 +51,7 @@ jobs: - name: Set deployment target (macOS) run: echo "MACOSX_DEPLOYMENT_TARGET=10.12" >> $GITHUB_ENV - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Install required packages (Linux) run: | @@ -83,7 +83,7 @@ jobs: - name: Install Sentry CLI # Yarn has issues putting binaries in the PATH on Windows run: npm i -g @sentry/cli - if: ${{ startsWith(github.ref, 'refs/tags/desktop') && matrix.os != 'macos-11' }} + if: ${{ startsWith(github.ref, 'refs/tags/desktop') && matrix.os != 'macos-12' }} # - name: Strip backend debug info and upload to Sentry (Linux) # run: | @@ -131,7 +131,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} working-directory: packages/desktop - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Build Electron app (Windows) run: yarn compile:${env:STAGE}:win @@ -170,7 +170,7 @@ jobs: - name: Compute checksums (macOS) run: for i in `ls | grep 'firefly-desktop*'` ; do shasum -a 256 $i | awk {'print $1'} > $i.sha256 ; done working-directory: packages/desktop/out - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Compute checksums (Windows) run: Get-ChildItem "." -Filter firefly-desktop* | Foreach-Object { $(Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash | Set-Content ($_.FullName + '.sha256') } diff --git a/.github/workflows/build-desktop-test.v2.yml b/.github/workflows/build-desktop-test.v2.yml index 77f91e98f97..93a3b7749ae 100644 --- a/.github/workflows/build-desktop-test.v2.yml +++ b/.github/workflows/build-desktop-test.v2.yml @@ -11,7 +11,7 @@ jobs: if: ${{ always() }} strategy: matrix: - os: [ ubuntu-20.04, macos-11, windows-2019 ] + os: [ ubuntu-20.04, macos-12, windows-2019 ] fail-fast: true env: VERSION: '2.1.3-test' @@ -50,7 +50,7 @@ jobs: - name: Set deployment target (macOS) run: echo "MACOSX_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV # TODO: set this to 10.12 once rocksDB issue is fixed - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Install required packages (Linux) run: | @@ -100,7 +100,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} working-directory: packages/desktop - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Build Electron app (Windows) run: yarn compile:${env:STAGE}:win diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index e60bbc772f4..37bfa805f56 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -11,7 +11,7 @@ on: required: true type: choice options: - - macos-11 + - macos-12 - ubuntu-20.04 - windows-2019 stage: @@ -68,7 +68,7 @@ jobs: - name: Set deployment target (macOS) run: echo "MACOSX_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV # TODO: set this to 10.12 once rocksDB issue is fixed - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Install required packages (Linux) run: | @@ -118,7 +118,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} working-directory: packages/desktop - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Build Electron app (Windows) run: yarn compile:${env:STAGE}:win @@ -157,7 +157,7 @@ jobs: - name: Compute checksums (macOS) run: for i in `ls | grep 'firefly-*'` ; do shasum -a 256 $i | awk {'print $1'} > $i.sha256 ; done working-directory: packages/desktop/out - if: matrix.os == 'macos-11' + if: matrix.os == 'macos-12' - name: Compute checksums (Windows) run: Get-ChildItem "." -Filter firefly-* | Foreach-Object { $(Get-FileHash -Path $_.FullName -Algorithm SHA256).Hash | Set-Content ($_.FullName + '.sha256') }