Skip to content

Commit

Permalink
Merge pull request #789 from mac-cain13/workflow-updates
Browse files Browse the repository at this point in the history
Update GitHub workflows
  • Loading branch information
tomlokhorst committed Dec 12, 2022
2 parents dd8e73b + 930ddbe commit cffbe4a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Pull cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .build
key: ${{ runner.os }}spm${{ hashFiles('**/Package.resolved') }}
Expand All @@ -30,7 +30,7 @@ jobs:
needs: build-rswift
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download build
uses: actions/download-artifact@v1
with:
Expand All @@ -41,7 +41,7 @@ jobs:
mv rswift-dev/rswift .build/release/rswift
chmod +x .build/release/rswift
- name: Pull cache
uses: actions/cache@v2
uses: actions/cache@v3
id: podcache-ios
with:
path: Examples/ResourceApp/Pods
Expand All @@ -60,7 +60,7 @@ jobs:
needs: build-rswift
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download build
uses: actions/download-artifact@v1
with:
Expand All @@ -79,7 +79,7 @@ jobs:
needs: build-rswift
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download build
uses: actions/download-artifact@v1
with:
Expand All @@ -97,7 +97,7 @@ jobs:
needs: build-rswift
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download build
uses: actions/download-artifact@v1
with:
Expand All @@ -115,9 +115,9 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Pull cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .build
key: ${{ runner.os }}spm${{ hashFiles('**/Package.resolved') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set version
run: |
sed -i "" "s/\(static let version = \"\).*\(\"\)/\1${TAG}\2/" Sources/rswift/Config.swift
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
codesign --force --options runtime --sign 'Developer ID Application: Mathijs Kadijk (5Z49PA849J)' .build/apple/Products/Release/rswift
- name: Store build artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: rswift-${{ github.event.release.tag_name }}
path: .build/apple/Products/Release/rswift
Expand Down

0 comments on commit cffbe4a

Please sign in to comment.