Skip to content

Commit

Permalink
Merge pull request #63 from zeyugao/master
Browse files Browse the repository at this point in the history
Build universal binary with github actions and upload to artifacts
  • Loading branch information
mczachurski committed Jul 11, 2022
2 parents bb5c232 + c3e22b6 commit 44e8ece
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 44e8ece

Please sign in to comment.