Skip to content

Commit

Permalink
Try to fix build target for armv7 and riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Jun 21, 2023
1 parent ebbee5c commit b020d9d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Nightly Build
on:
push:
branches:
- nightly0 # Just for test purpose only with the nightly repo
- nightly # Just for test purpose only with the nightly repo
# This schedule will run only from the default branch
schedule:
- cron: '15 0 * * *' # run at 01:15 AM UTC
Expand Down Expand Up @@ -53,14 +53,15 @@ jobs:
# We can't push if no user name and email are configured
git config user.name 'hustcer'
git config user.email 'hustcer@outlook.com'
git fetch origin main
git remote add src https://github.com/nushell/nushell.git
git fetch src main
# git pull --rebase src main
# All the changes will be overwritten by the upstream main branch
git reset --hard src/main
git push origin main -f
let sha_short = (git rev-parse --short src/main | str trim | str substring 0..7)
git pull origin main
# --- COMMENT BEGIN: Comment the following lines to disable code syncing ---
# git remote add src https://github.com/nushell/nushell.git
# git fetch src main
# # All the changes will be overwritten by the upstream main branch
# git reset --hard src/main
# git push origin main -f
# --------------------------------- COMMENT END ----------------------------
let sha_short = (git rev-parse --short origin/main | str trim | str substring 0..7)
let tag_name = $'nightly-($sha_short)'
if (git ls-remote --tags origin $tag_name | is-empty) {
git tag -a $tag_name -m $'Nightly build from ($sha_short)'
Expand Down

0 comments on commit b020d9d

Please sign in to comment.