Skip to content

Commit 2f05e23

Browse files
committed
Try to uses ./Action/SetUp instead of repo/Action/SetUp
1 parent 18f3374 commit 2f05e23

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Sources/YamlWriter/CLIYamlBuilder.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ struct CLIYamlBuilder {
3838

3939
let name = String(describing: command)
4040
let repo = SwiftPackageConfig.current.repo
41-
let version = SwiftPackageConfig.current.version
4241

4342
// Define the structure of the composite action
4443
let action: [String: Any] = [
@@ -50,7 +49,7 @@ struct CLIYamlBuilder {
5049
"steps": [
5150
[
5251
"name": "Setup Swift, Mint, Cache, etc.",
53-
"uses": "\(repo)/Actions/SetUp@\(version)",
52+
"uses": "./Actions/SetUp",
5453
],
5554
[
5655
"name": "Run \(name)",

Sources/YamlWriter/SwiftPackageConfig.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import Foundation
1010
struct SwiftPackageConfig {
1111
static let current = SwiftPackageConfig()
1212

13-
let version = "main"
14-
1513
let repo = "Wei18/GitHubSwiftActions"
1614

1715
private init() {}

0 commit comments

Comments
 (0)