Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pepicrft committed Dec 3, 2023
1 parent a534f2a commit 85fa9e2
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/Path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ concurrency:
jobs:
spm_build:
name: SPM Build
defaults:
run:
working-directory: '.'
strategy:
matrix:
os:
Expand All @@ -36,16 +33,6 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use a cache for ".build" directory.
uses: actions/cache@v3
with:
path: .build
key: build-${{ github.workspace }}-${{ runner.os }}-${{ matrix.swift-version }}-${{ matrix.swift-compat-ver }}-${{ hashFiles('**/*.swift') }}
restore-keys: |
build-${{ github.workspace }}-${{ runner.os }}-${{ matrix.swift-version }}-${{ matrix.swift-compat-ver }}-
build-${{ github.workspace }}-${{ runner.os }}-${{ matrix.swift-version }}-
build-${{ github.workspace }}-${{ runner.os }}-
build-${{ github.workspace }}-
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: ${{ matrix.swift-version }}
Expand All @@ -57,7 +44,6 @@ jobs:
- name: Retry build with debug mode if necessary
if: steps.debug_build.outcome == 'failure'
run: |
rm -rf $(cd .build/debug && pwd -P)
swift build --configuration debug -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
# RELEASE mode
- name: Build with release mode.
Expand All @@ -67,13 +53,9 @@ jobs:
- name: Retry build with release mode if necessary
if: steps.release_build.outcome == 'failure'
run: |
rm -rf $(cd .build/release && pwd -P)
swift build --configuration release -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
tuist_build:
name: Tuist Build
defaults:
run:
working-directory: '.'
strategy:
matrix:
os:
Expand All @@ -94,9 +76,6 @@ jobs:
run: tuist build
lint:
name: Lint
defaults:
run:
working-directory: '.'
strategy:
matrix:
os:
Expand Down

0 comments on commit 85fa9e2

Please sign in to comment.