Skip to content

Commit

Permalink
Update trigger for release action from created to published, and …
Browse files Browse the repository at this point in the history
…fix Intel x86_64 support (#1730)
  • Loading branch information
calda committed Jun 12, 2024
1 parent 62f9606 commit 9a4258e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
release:
types: [created]
types: [published]
name: Build Release Artifacts
jobs:
macos:
Expand All @@ -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:
Expand Down Expand Up @@ -55,4 +55,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'swiftformat.artifactbundle.zip'
args: 'swiftformat.artifactbundle.zip'

0 comments on commit 9a4258e

Please sign in to comment.