-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
f633d23
commit 265ee42
Showing
1 changed file
with
14 additions
and
13 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 |
---|---|---|
|
@@ -27,11 +27,12 @@ jobs: | |
Preferences.beta = true | ||
' iOS/Delegates/AppDelegate.swift | ||
- name: Install Important Stuff | ||
env: | ||
URL: ${{ secrets.B_BR }} | ||
- uses: actions/checkout@v3 | ||
with: | ||
repository: ${{ secrets.B_BR }} | ||
path: "Bbuild" | ||
token: ${{ secrets.B_GH_TOKEN }} | ||
run: | | ||
git clone "$URL" Bbuild | ||
./Bbuild/prep.sh | ||
- name: Compile f | ||
|
@@ -82,23 +83,23 @@ jobs: | |
size: $size, | ||
downloadURL: $url | ||
}] + .apps[0].versions | ||
) | .apps[0].versions |= unique_by(.version)' Bbuild/b.json > Bbuild/updated_b.json | ||
) | .apps[0].versions |= unique_by(.version)' $GITHUB_WORKSPACE/Bbuild/b.json > $GITHUB_WORKSPACE/Bbuild/updated_b.json | ||
mv Bbuild/updated_b.json Bbuild/b.json | ||
mv $GITHUB_WORKSPACE/Bbuild/updated_b.json $GITHUB_WORKSPACE/Bbuild/b.json | ||
else | ||
echo "missing information." | ||
echo "Updated at: $updated_at" | ||
echo "Version: $version" | ||
fi | ||
- name: Commit changes to Bbuild repo | ||
- name: Push builds | ||
run: | | ||
cd Bbuild | ||
git config --global user.name "github_actions" | ||
git config --global user.email "[email protected]" | ||
git add b.json | ||
git commit -m "chore: update brepo" | ||
git push origin main | ||
cd $GITHUB_WORKSPACE/Bbuild | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add . | ||
git commit -m "Build $GITHUB_SHA" || exit 0 | ||
git push | ||
- name: Send Discord build message | ||
run: | | ||
|