Skip to content

Commit

Permalink
Update Build Action (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
STREGA committed Sep 30, 2023
1 parent c7aba09 commit e1bd1ed
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]
pull_request:
branches: "*"
branches: "**"

jobs:
swift-test:
Expand All @@ -17,16 +17,17 @@ jobs:
- os: macos-13
swift_version: 5.8
xcode: /Applications/Xcode_14.3.app/Contents/Developer
# - os: macos-14 # will be available October-December 2023
# swift_version: 5.9
# xcode: /Applications/Xcode_15.0.app/Contents/Developer
- os: ubuntu-20.04
swift_version: 5.7
- os: ubuntu-20.04
swift_version: 5.8
swift_version:
name: Build on ${{ matrix.os }} with Swift ${{ matrix.swift_version }}
timeout-minutes: 40
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Select Xcode version
if: startsWith(matrix.os, 'macos')
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build a Docker image on Ubuntu 20.04
run: docker build . -t ghcr.io/swiftwasm/swiftwasm-action:latest
Expand Down

0 comments on commit e1bd1ed

Please sign in to comment.