blob: fd0547f905377c29ad49f83045b1d07fb431e672 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
name: Build and Release
on:
push:
branches:
- master
release:
types: [created]
jobs:
build-and-release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup Swift
uses: swift-actions/setup-swift@v1.25.0
- name: Build for Release
run: swift build -c release
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts-${{ matrix.os }}
path: .build/release/swift-gopher
|