Skip to content

Commit f107eab

Browse files
authored
Update ubuntu.yml
1 parent 52e7a45 commit f107eab

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/ubuntu.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1+
# This workflow will build a Swift project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
14
name: Ubuntu
25

36
on:
47
push:
5-
branches: [ "main" ]
6-
pull_request:
7-
branches: [ "main" ]
8+
branches: ["**"]
89

910
jobs:
1011
build:
11-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1213

1314
steps:
14-
- uses: actions/checkout@v3
15-
- name: Build
16-
run: swift build -v
17-
- name: Run tests
18-
run: swift test -v
15+
- uses: sersoft-gmbh/swifty-linux-action@v3
16+
with:
17+
release-version: 6.0.1
18+
- uses: actions/checkout@v3
19+
- name: Build for release
20+
run: swift build -v -c release
21+
- name: Test
22+
run: swift test -v

0 commit comments

Comments
 (0)