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'