Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khcrysalis committed Nov 6, 2024
1 parent f633d23 commit 265ee42
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 265ee42

Please sign in to comment.