We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52e7a45 commit f107eabCopy full SHA for f107eab
.github/workflows/ubuntu.yml
@@ -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
+
4
name: Ubuntu
5
6
on:
7
push:
- branches: [ "main" ]
- pull_request:
8
+ branches: ["**"]
9
10
jobs:
11
build:
- runs-on: ubuntu-latest
12
+ runs-on: ubuntu-20.04
13
14
steps:
- - uses: actions/checkout@v3
15
- - name: Build
16
- run: swift build -v
17
- - name: Run tests
18
- run: swift test -v
+ - uses: sersoft-gmbh/swifty-linux-action@v3
+ with:
+ release-version: 6.0.1
+ - 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