Skip to content

Commit 63b9730

Browse files
committed
Fix, use jdx/mise-action@v2 for setup-swift
1 parent 8748813 commit 63b9730

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Actions/Comment/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ name: Comment
2424
runs:
2525
steps:
2626
- name: Setup Swift
27-
uses: swift-actions/setup-swift@v2
27+
uses: jdx/mise-action@v2
2828
with:
29-
swift-version: 5
29+
mise_toml: '[tools]\nswift = "5"\n[settings]\nexperimental = true\n'
3030
- name: Create Mintfile
3131
run: echo Wei18/GitHubSwiftActions@${{ inputs.action_ref }} > ${{ github.action_path }}/Mintfile
3232
shell: bash

Actions/Release/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ name: Release
2121
runs:
2222
steps:
2323
- name: Setup Swift
24-
uses: swift-actions/setup-swift@v2
24+
uses: jdx/mise-action@v2
2525
with:
26-
swift-version: 5
26+
mise_toml: '[tools]\nswift = "5"\n[settings]\nexperimental = true\n'
2727
- name: Create Mintfile
2828
run: echo Wei18/GitHubSwiftActions@${{ inputs.action_ref }} > ${{ github.action_path }}/Mintfile
2929
shell: bash

Sources/YamlWriter/CLIYamlBuilder.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ private struct SetUpActionFactory {
8282
let action: [[String: Any]] = [
8383
[
8484
"name": "Setup Swift",
85-
"uses": "swift-actions/setup-swift@v2",
85+
"uses": "jdx/mise-action@v2",
8686
"with": [
87-
"swift-version": 5,
87+
"mise_toml": #"[tools]\nswift = "5"\n[settings]\nexperimental = true\n"#,
8888
],
8989
],
9090
[

0 commit comments

Comments
 (0)