forked from bfbbdecomp/bfbb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
78 changed files
with
6,604 additions
and
787 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 |
---|---|---|
|
@@ -67,20 +67,30 @@ jobs: | |
name: ${{ matrix.version }}_maps | ||
path: build/${{ matrix.version }}/**/*.MAP | ||
|
||
- name: Generate Progress Report | ||
- name: Generate Progress Reports | ||
if: github.ref == 'refs/heads/main' | ||
run: | | ||
./objdiff-cli report generate -o progress.json | ||
git log -1 --pretty='{"id": "%H", "email": "%ae", "time": "%ad", "message": "%s"}' --date=format:"%Y-%m-%dT%H:%M:%S" > progress-commit.json | ||
git checkout HEAD~1 | ||
rm -rf ./build/ | ||
ninja all_source | ||
./objdiff-cli report generate -o previous.json | ||
- name: Save Artifact | ||
- name: Save Progress Artifacts | ||
if: github.ref == 'refs/heads/main' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: progress | ||
path: progress.json | ||
path: | | ||
progress.json | ||
previous.json | ||
progress-commit.json | ||
website: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
needs: build | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
|
@@ -89,7 +99,7 @@ jobs: | |
with: | ||
repository: bfbbdecomp/website | ||
|
||
- name: Download artifact | ||
- name: Download Progress Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: progress | ||
|
@@ -110,3 +120,20 @@ jobs: | |
folder: dist # The folder the action should deploy. | ||
clean: true | ||
single-commit: true | ||
|
||
- name: Commit Changes | ||
continue-on-error: true | ||
run: | | ||
git status | ||
git pull origin main | ||
git config --global user.name "BFBB Actions Bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -m "automated commit cache update" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.WEBSITE_TOKEN }} | ||
repository: bfbbdecomp/website | ||
branch: ${{ github.ref }} |
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
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
Oops, something went wrong.