From 88d47028f9dbd0ea004f620ddd6aace2940e48f7 Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Tue, 13 Aug 2024 16:40:48 +0300 Subject: [PATCH 1/2] Use MacOS-13 runners --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdd111356..1d8ced58d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -252,7 +252,7 @@ jobs: SKIP_WASM_BUILD=1 cargo check --features=runtime-benchmarks --release unit-test-creditcoin: - runs-on: macos-12 + runs-on: macos-13 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77e8507d4..b4eb27427 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - operating-system: [ubuntu-22.04, windows-2022, macos-11] + operating-system: [ubuntu-22.04, windows-2022, macos-13] runs-on: ${{ matrix.operating-system }} steps: @@ -59,7 +59,7 @@ jobs: override: true - name: Install MacOS aarch64 target - if: matrix.operating-system == 'macos-11' + if: matrix.operating-system == 'macos-13' uses: gluwa/toolchain@dev with: toolchain: ${{ env.RUSTC_VERSION }} @@ -93,7 +93,7 @@ jobs: args: --release - name: Build MacOS aarch64 target - if: matrix.operating-system == 'macos-11' + if: matrix.operating-system == 'macos-13' uses: gluwa/cargo@dev with: command: build @@ -109,7 +109,7 @@ jobs: exclusions: "creditcoin-node.d" - name: Compress MacOS aarch64 target - if: matrix.operating-system == 'macos-11' + if: matrix.operating-system == 'macos-13' uses: thedoctor0/zip-release@0.7.6 with: type: "zip" From 86021f4496acc00ad12b9e25d018d71f2c62c4b2 Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Tue, 13 Aug 2024 16:41:29 +0300 Subject: [PATCH 2/2] Make it possible to trigger release pipeline manually so I can experiment with the MacOS builds --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4eb27427..32f1191df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,7 @@ on: push: tags: - "*" + workflow_dispatch: permissions: read-all