From 29b461f0a9d99acd285ae53af4431ad3a7f476df Mon Sep 17 00:00:00 2001 From: Lightmann Date: Wed, 20 Dec 2023 22:37:54 -0500 Subject: [PATCH] Update workflow --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ea349a..148957c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Create Release on: - push: - workflow_dispatch: + - push + - workflow_dispatch env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -11,24 +11,24 @@ jobs: create_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@main + - uses: actions/checkout@v4 - name: Create Release run: | - set -x TAG="${GITHUB_REF##*/}-${GITHUB_SHA:0:7}" gh release create "$TAG" --draft --title "Draft Release" build: needs: create_release strategy: + fail-fast: false matrix: os: - ubuntu-22.04 - ubuntu-20.04 - + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@main + - uses: actions/checkout@v4 with: submodules: true @@ -37,7 +37,8 @@ jobs: run: | curl -fsSL https://apt.llvm.org/llvm.sh | sudo bash -s -- 14 sudo apt install -y --no-install-recommends clang-14 libc++-14-dev libc++abi-14-dev - CC=clang-14 CXX=clang++-14 ./prepare-toolchain && mv packages/darwin-tools.tar.gz packages/darwin-tools-${{ matrix.os }}.tar.gz + CC=clang-14 CXX=clang++-14 ./prepare-toolchain + mv packages/darwin-tools.tar.gz packages/darwin-tools-${{ matrix.os }}.tar.gz - name: Attach Build To Release run: |