Skip to content

Commit

Permalink
+ Integration CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
iletai committed Mar 25, 2024
1 parent 657f1d8 commit 773a73c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build Project

on:
workflow_call:
secrets:
token:
required: true

push:
branches:
- "master"

jobs:
build:
name: Enviroment ${{ matrix.swift }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-14]
swift: ["5.9"]

steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Cache Swift dependencies
uses: actions/cache@v4
with:
path: |
~/.build
key: ${{ runner.os }}-swift-${{ hashFiles('**/*.swift') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Set Swift Version
uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}

- name: Build
id: build
run: swift build

0 comments on commit 773a73c

Please sign in to comment.