-
Notifications
You must be signed in to change notification settings - Fork 2
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
akasaka
committed
Oct 27, 2024
1 parent
d4eb5d4
commit 76b4e15
Showing
5 changed files
with
24 additions
and
15 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 |
---|---|---|
|
@@ -8,12 +8,18 @@ jobs: | |
build-everything: | ||
runs-on: ubuntu-latest | ||
name: Build All Binaries | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- name: Set up Git identity | ||
run: | | ||
git config --local user.name "Leønid Yakubovič" | ||
git config --local user.email "[email protected]" | ||
- name: Prepare environment | ||
uses: ./.github/actions/prepare_pio | ||
- name: Download AquesTalk | ||
|
@@ -48,11 +54,19 @@ jobs: | |
- name: Switch to public branch | ||
run: git checkout pub | ||
- name: Merge changes from main | ||
run: git merge main | ||
run: git merge main --strategy-option theirs | ||
- name: Move things to FVUDATA for publishing | ||
run: ./helper/ci/create_fvudata.sh | ||
- name: Add FVUDATA stuff into git and push | ||
run: | | ||
git add -f ./webroot/fvudata/* | ||
git commit -m "Publish firmwares at $(git rev-parse --short HEAD)" | ||
git push --force -u origin pub | ||
git commit -m "ci: Publish firmwares at $(git rev-parse --short HEAD)" | ||
git push --force -u origin pub | ||
# Thanks to yet another weird limitation of Github Actions, we need to duplicate this action here | ||
# https://github.com/orgs/community/discussions/25702 | ||
# Remove when a better solution is found | ||
- name: Publish webroot via GitHub Pages | ||
uses: rayluo/[email protected] | ||
with: | ||
source-directory: webroot | ||
target-branch: gh-pages |
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
Empty file.
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