Skip to content

Commit

Permalink
CI main branch fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianfett committed Oct 26, 2020
1 parent b8af496 commit 737c152
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let package = Package(
.library(name: "HookedFunctions", type: .dynamic, targets: ["HookedFunctions"]),
],
dependencies: [
.package(url: "../AtomicCounter/", .branch("master")),
.package(url: "../AtomicCounter/", .branch("main")),
],
targets: [
.target(name: "HookedFunctions", dependencies: ["AtomicCounter"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let package = Package(
.library(name: "HookedFunctions", type: .dynamic, targets: ["HookedFunctions"]),
],
dependencies: [
.package(url: "../AtomicCounter/", .branch("master")),
.package(url: "../AtomicCounter/", .branch("main")),
],
targets: [
.target(name: "HookedFunctions", dependencies: ["AtomicCounter"]),
Expand Down

0 comments on commit 737c152

Please sign in to comment.