From 1d7018a558f1aeb776f117a8513f3ef48ee6578d Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 12 Aug 2020 15:56:10 -0500 Subject: [PATCH] Build MacOS releases and explicitly specify task dependencies. --- .github/workflows/release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b58400a..ef0f86b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: - "v*" jobs: + build_linux: name: Build Linux runs-on: ubuntu-latest @@ -27,9 +28,18 @@ jobs: choco install -y llvm cargo build --release + build_macos: + name: Build MacOS + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - run: | + cargo build --release + publish_winrt_bindings: name: Publish winrt_bindings runs-on: windows-latest + needs: [build_windows] env: CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} steps: @@ -44,6 +54,7 @@ jobs: publish: name: Publish runs-on: ubuntu-latest + needs: [build_linux, build_windows, build_macos] env: CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} steps: