From 04cab8abda8bab17d7bb1921e36546b38cbae9b2 Mon Sep 17 00:00:00 2001 From: Cal Stephens Date: Wed, 12 Jun 2024 10:58:32 -0700 Subject: [PATCH] Update trigger for release action from `created` to `published`, and fix Intel x86_64 support (#1730) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d567b503c..489d07582 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ on: release: - types: [created] + types: [published] name: Build Release Artifacts jobs: macos: @@ -10,7 +10,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Build macOS binary - run: swift build -c release --arch arm64 --arch x86 + run: swift build -c release --arch arm64 --arch x86_64 - name: Upload artifacts uses: actions/upload-artifact@v4 with: @@ -55,4 +55,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: 'swiftformat.artifactbundle.zip' \ No newline at end of file + args: 'swiftformat.artifactbundle.zip'