-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8af496
commit 737c152
Showing
4 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ name: CI | |
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
|
||
jobs: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ function die() { | |
|
||
function make_git_commit_all() { | ||
git init > /dev/null | ||
git checkout -b main | ||
if [[ "$(git config user.email)" == "" ]]; then | ||
git config --local user.email [email protected] | ||
git config --local user.name 'Does Not Matter' | ||
|
@@ -54,8 +55,8 @@ EOF | |
cat <<EOF | ||
], | ||
dependencies: [ | ||
.package(url: "HookedFunctions/", .branch("master")), | ||
.package(url: "$swiftpm_pkg_name/", .branch("master")), | ||
.package(url: "HookedFunctions/", .branch("main")), | ||
.package(url: "$swiftpm_pkg_name/", .branch("main")), | ||
EOF | ||
if [[ -n "$extra_dependencies_file" ]]; then | ||
cat "$extra_dependencies_file" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters