Skip to content

Commit

Permalink
Build universal binary with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeyugao committed Jul 3, 2022
1 parent bb5c232 commit c3e22b6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
name: Build

on: push
on:
push:

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@master
- name: Build
run: swift build
run: swift build --configuration release --arch arm64 --arch x86_64

- uses: actions/upload-artifact@v3
with:
name: wallpaper
path: |
.build/apple/Products/Release/wallpapper
.build/apple/Products/Release/wallpapper-exif

0 comments on commit c3e22b6

Please sign in to comment.