BuildBranches: Im not testing this
This commit is contained in:
parent
b51f97ebb8
commit
d4d4c895df
1 changed files with 6 additions and 4 deletions
10
.github/workflows/buildBranches.yml
vendored
10
.github/workflows/buildBranches.yml
vendored
|
|
@ -98,10 +98,13 @@ jobs:
|
|||
|
||||
git config --global user.name "GitHub-Actions"
|
||||
git config --global user.email actions@github.com
|
||||
git clone https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git equibuilds
|
||||
cd equibuilds
|
||||
|
||||
mkdir equibuilds && cd equibuilds
|
||||
git init
|
||||
git remote add origin https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git
|
||||
|
||||
if git ls-remote --exit-code --heads origin "$BRANCH" > /dev/null 2>&1; then
|
||||
git fetch --depth 1 origin "$BRANCH"
|
||||
git checkout "$BRANCH"
|
||||
else
|
||||
git checkout --orphan "$BRANCH"
|
||||
|
|
@ -117,6 +120,5 @@ jobs:
|
|||
mv extension-*.zip browser/
|
||||
|
||||
git add -A
|
||||
|
||||
git commit -m "Builds for https://github.com/$GITHUB_REPOSITORY/commit/$COMMIT_SHA"
|
||||
git push --force https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git "$BRANCH"
|
||||
git push --force origin "$BRANCH"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue