Update
This commit is contained in:
parent
fe373e2c3f
commit
b1e8c310c5
|
|
@ -16,14 +16,14 @@ jobs:
|
||||||
image: swift:${{ matrix.swift }}
|
image: swift:${{ matrix.swift }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: swift test -c release --enable-xctest --parallel --xunit-output .build/xUnit-output.xml
|
run: swift test -c release --enable-xctest --parallel --xunit-output .build/xUnit-output.xml
|
||||||
|
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.1
|
||||||
with:
|
with:
|
||||||
name: test-artifacts-linux-${{ matrix.swift }}-${{ github.run_id }}
|
name: test-artifacts-linux-${{ matrix.swift }}-${{ github.run_id }}
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- { os: "macos-15", xcode: "16.0" }
|
- { os: "macos-15", xcode: "16.0" }
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Select Xcode ${{ matrix.config.xcode }}
|
- name: Select Xcode ${{ matrix.config.xcode }}
|
||||||
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xcode }}.app
|
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xcode }}.app
|
||||||
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.1
|
||||||
with:
|
with:
|
||||||
name: test-artifacts-${{ matrix.config.xcode }}-${{ github.run_id }}
|
name: test-artifacts-${{ matrix.config.xcode }}-${{ github.run_id }}
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
wasm:
|
wasm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4.2.2
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: swiftwasm/swiftwasm-action@v5.9
|
uses: swiftwasm/swiftwasm-action@v5.9
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -17,14 +17,14 @@ jobs:
|
||||||
tag: 5.10-RELEASE
|
tag: 5.10-RELEASE
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml
|
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml
|
||||||
|
|
||||||
- name: Upload test artifacts
|
- name: Upload test artifacts
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.1
|
||||||
with:
|
with:
|
||||||
name: test-artifacts-windows-${{ github.run_id }}
|
name: test-artifacts-windows-${{ github.run_id }}
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
|
|
@ -23,12 +23,12 @@ jobs:
|
||||||
run: sudo xcode-select -s /Applications/Xcode_16.0.app
|
run: sudo xcode-select -s /Applications/Xcode_16.0.app
|
||||||
|
|
||||||
- name: Checkout Package
|
- name: Checkout Package
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Checkout gh-pages Branch
|
- name: Checkout gh-pages Branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
with:
|
with:
|
||||||
ref: gh-pages
|
ref: gh-pages
|
||||||
path: docs
|
path: docs
|
||||||
|
|
|
||||||
|
|
@ -64,22 +64,13 @@
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"description": "Update swift-tools-version in Package.swift",
|
"description": "Update swift-tools-version in Package.swift and .swift-version",
|
||||||
"fileMatch": [
|
"fileMatch": [
|
||||||
|
".swift-version",
|
||||||
"Package\\.swift"
|
"Package\\.swift"
|
||||||
],
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"swift-tools-version:\\s*(?<currentValue>.*)"
|
"swift-tools-version:\\s*(?<currentValue>.*)",
|
||||||
],
|
|
||||||
"datasourceTemplate": "github-releases",
|
|
||||||
"depNameTemplate": "swiftlang/swift",
|
|
||||||
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"customType": "regex",
|
|
||||||
"description": "Update .swift-version",
|
|
||||||
"fileMatch": ".swift-version",
|
|
||||||
"matchStrings": [
|
|
||||||
"(?<currentValue>.*)"
|
"(?<currentValue>.*)"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "github-releases",
|
"datasourceTemplate": "github-releases",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue